From 0b6575095f96d50028d1145a6b707ac4a5c03095 Mon Sep 17 00:00:00 2001 From: Oleg Obleukhov Date: Thu, 1 Oct 2026 02:30:50 -0700 Subject: [PATCH] drop the fbclock-bin spec workaround Summary: D122430076 added two sed expressions to the post-upstream-clone action so Packit could build while the Fedora dist-git spec still built `cmd/fbclock-bin`. Fedora dist-git `main` dropped fbclock-bin (now at the 20260930 snapshot, 0 `fbclock-bin` lines), so both expressions match nothing. This removes them. Differential Revision: D122759707 --- .packit.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.packit.yaml b/.packit.yaml index 393fcf1f..f1790483 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -10,7 +10,7 @@ upstream_package_name: time downstream_package_name: facebook-time actions: post-upstream-clone: - - "bash -c \"curl -s https://src.fedoraproject.org/rpms/facebook-time/raw/main/f/facebook-time.spec | sed -e '/^Patch[0-9]/d' -e 's|^%global commit.*|%global commit '$(git rev-parse HEAD)'|' -e 's|^%global date.*|%global date '$(date +%Y%m%d)'|' -e '/^cd cmd.fbclock-bin$/,/^cd -$/d' -e '/^%{_bindir}.fbclock-bin$/d' > facebook-time.spec\"" + - "bash -c \"curl -s https://src.fedoraproject.org/rpms/facebook-time/raw/main/f/facebook-time.spec | sed -e '/^Patch[0-9]/d' -e 's|^%global commit.*|%global commit '$(git rev-parse HEAD)'|' -e 's|^%global date.*|%global date '$(date +%Y%m%d)'|' > facebook-time.spec\"" - "curl -s -o go-vendor-tools.toml https://src.fedoraproject.org/rpms/facebook-time/raw/main/f/go-vendor-tools.toml" create-archive: - "bash -c 'git archive --format=tar.gz --prefix=time-$(git rev-parse HEAD)/ HEAD -o time-$(git rev-parse HEAD).tar.gz'"