Enable build_with_btrfs on AlmaLinux 10

This commit is contained in:
Eduard Abdullin 2026-02-14 03:31:21 +00:00 committed by root
commit 41fd359e7a
2 changed files with 25 additions and 7 deletions

View File

@ -8,8 +8,8 @@
%endif
%global import_path github.com/containers/podman
%global branch v5.6-rhel
%global commit0 b194cd996eb74ecf0ff67d710d4b2aaa90e1c27e
#%%global branch v5.6-rhel
%global commit0 07efc23e05c3d9aa15a0f30d57194737bfc4b6b1
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global gomodulesmode GO111MODULE=on
@ -64,10 +64,10 @@ Epoch: 7
# If that's what you're reading, Version must be 0, and will be updated by Packit for
# copr and koji builds.
# If you're reading this on dist-git, the version is automatically filled in by Packit.
Version: 5.6.0
Version: 5.8.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: 30%{?dist}.alma.1
Release: 1%{?dist}.alma.1
%if %{defined golang_arches_future}
ExclusiveArch: %{golang_arches_future}
%else
@ -118,6 +118,10 @@ Requires: containers-common-extra >= 5:0.58.0-1
%else
Requires: containers-common-extra
%endif
%if %{defined sequoia}
Requires: podman-sequoia
%endif
Obsoletes: %{name}-quadlet <= 5:4.4.0-1
Provides: %{name}-quadlet = %{epoch}:%{version}-%{release}
@ -275,6 +279,11 @@ export BASEBUILDTAGS="$BASEBUILDTAGS libtrust_openssl"
# build %%{name}
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh)"
%if %{defined sequoia}
export BUILDTAGS="$BUILDTAGS containers_image_sequoia"
%endif
%gobuild -o bin/%{name} ./cmd/%{name}
# build %%{name}-remote
@ -321,6 +330,9 @@ cp -pav test/system %{buildroot}%{_datadir}/%{name}/test/
%ifarch %{machine_arches}
# symlink virtiofsd in %%{name} libexecdir for machine subpackage
ln -s ../virtiofsd %{buildroot}%{_libexecdir}/%{name}
%if !%{defined qemu}
ln -s ../qemu-kvm %{buildroot}%{_libexecdir}/%{name}/qemu-system-%{arch}
%endif
%endif
#define license tag if not already defined
@ -383,12 +395,19 @@ ln -s ../virtiofsd %{buildroot}%{_libexecdir}/%{name}
%files machine
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/virtiofsd
%if !%{defined qemu}
%{_libexecdir}/%{name}/qemu-system-%{arch}
%endif
%endif
%changelog
* Fri Jan 30 2026 Eduard Abdullin <eabdullin@almalinux.org> - 7:5.6.0-30.alma.1
* Sat Feb 14 2026 Eduard Abdullin <eabdullin@almalinux.org> - 7:5.8.0-1.alma.1
- Enable build_with_btrfs on AlmaLinux 10
* Fri Feb 13 2026 Jindrich Novy <jnovy@redhat.com> - 7:5.8.0-1
- update to https://github.com/containers/podman/releases/tag/v5.8.0
- Related: RHEL-122178
* Thu Jan 29 2026 Jindrich Novy <jnovy@redhat.com> - 7:5.6.0-30
- update to rhel-10.1.z version of podman
- Related: RHEL-111917

View File

@ -1,2 +1 @@
SHA512 (v5.6-d46b857.tar.gz) = 305fee336305526f01d7f7af05e983e38739b30ee81285a0b5d180673bd215c6657b004c63ca2f73d95da53bc4df70668acfb2d330b3fefda8146151ae421e23
SHA512 (v5.6-rhel-b194cd9.tar.gz) = 07774016314a34b227046baf8182aae514741ce8d2941d557b201c1e71ac6d681930ec8373ee8008faccca040cde7c7ecc91e04ecf2f6bf8ae5c71fa6c3e4078
SHA512 (podman-5.8.0-07efc23.tar.gz) = 1f6d89cd9b972fe2143f6feddf6a76beb5db39d6fe645349dcdb464e7a53943ae7ddca49bca4d9f34f4f215120c1da6d64f1c7ebdd134cf11f7fce5c5f89c540