Skip to content

Commit

Permalink
Merge pull request #21839 from lsm5/rpm-spec
Browse files Browse the repository at this point in the history
[CI:BUILD] rpm: spec file updates from Fedora dist-git
  • Loading branch information
openshift-merge-bot[bot] authored Feb 28, 2024
2 parents c93ed35 + 50a0c51 commit 031e7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpm/podman.spec
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ BuildRequires: glibc-devel
BuildRequires: glibc-static
BuildRequires: golang
BuildRequires: git-core
%if !%{defined gobuild}
%if %{undefined rhel} || 0%{?rhel} >= 10
BuildRequires: go-rpm-macros
%endif
BuildRequires: gpgme-devel
Expand Down Expand Up @@ -219,7 +219,7 @@ export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"

export GOPROXY=direct

LDFLAGS="-X %{ld_libpod}/define.buildInfo=$(date +%s) \
LDFLAGS="-X %{ld_libpod}/define.buildInfo=${SOURCE_DATE_EPOCH:-$(date +%s)} \
-X %{ld_libpod}/config._installPrefix=%{_prefix} \
-X %{ld_libpod}/config._etcDir=%{_sysconfdir} \
-X %{ld_project}/pkg/systemd/quadlet._binDir=%{_bindir}"
Expand Down

0 comments on commit 031e7a1

Please sign in to comment.