diff --git a/SPECS/buildah.spec b/SPECS/buildah.spec index 47c489c..d345256 100644 --- a/SPECS/buildah.spec +++ b/SPECS/buildah.spec @@ -35,7 +35,7 @@ Epoch: 2 Version: 1.39.0 # The `AND` needs to be uppercase in the License for SPDX compatibility License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0 -Release: 2%{?dist} +Release: 3%{?dist} %if %{defined golang_arches_future} ExclusiveArch: %{golang_arches_future} %else @@ -119,7 +119,7 @@ export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full" export CNI_VERSION=`grep '^# github.com/containernetworking/cni ' src/modules.txt | sed 's,.* ,,'` export LDFLAGS="-X main.buildInfo=`date +%s` -X main.cniVersion=${CNI_VERSION}" -export BUILDTAGS="seccomp $(hack/systemd_tag.sh) $(hack/libsubid_tag.sh)" +export BUILDTAGS="cni seccomp $(hack/systemd_tag.sh) $(hack/libsubid_tag.sh)" %if !%{defined build_with_btrfs} export BUILDTAGS+=" btrfs_noversion exclude_graphdriver_btrfs" %endif @@ -171,6 +171,10 @@ rm %{buildroot}%{_datadir}/%{name}/test/system/tools/build/* %{_datadir}/%{name}/test %changelog +* Mon Feb 24 2025 Jindrich Novy - 2:1.39.0-3 +- Add CNI explicitly in BUILDTAGS +- Resolves: RHEL-80396 + * Thu Feb 13 2025 Jindrich Novy - 2:1.39.0-2 - sync spec with upstream - Related: RHEL-60277