diff --git a/.gitignore b/.gitignore index 5f42b12..f93c580 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rpm-ostree-2022.2.tar.xz +/rpm-ostree-2022.2.8.gd50a74bd.tar.xz diff --git a/rpm-ostree.spec b/rpm-ostree.spec index 4923bf9..79e18f2 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -3,7 +3,7 @@ Summary: Hybrid image/package system Name: rpm-ostree -Version: 2022.2 +Version: 2022.2.8.gd50a74bd Release: 2%{?dist} License: LGPLv2+ URL: https://github.com/coreos/rpm-ostree @@ -24,6 +24,15 @@ BuildRequires: rust # Enable ASAN + UBSAN %bcond_with sanitizers +# Embedded unit tests +%bcond_with bin_unit_tests + +# This is copied from the libdnf spec +%if 0%{?rhel} && ! 0%{?centos} +%bcond_without rhsm +%else +%bcond_with rhsm +%endif # RHEL8 doesn't ship zchunk today. See also the comments # in configure.ac around this as libdnf/librepo need to be in @@ -94,6 +103,14 @@ BuildRequires: pkgconfig(smartcols) BuildRequires: pkgconfig(zck) >= 0.9.11 %endif BuildRequires: gpgme-devel +%if 0%{?rhel} <= 8 +# In current Fedora, this is a dependency of gpgme-devel, but +# not in RHEL8. Missing this package breaks -znow. +BuildRequires: libassuan-devel +%endif +%if %{with rhsm} +BuildRequires: pkgconfig(librhsm) >= 0.0.3 +%endif # Runtime libdnf deps Requires: libmodulemd%{?_isa} >= %{libmodulemd_version} @@ -142,7 +159,8 @@ env NOCONFIGURE=1 ./autogen.sh %if 0%{?build_rustflags:1} export RUSTFLAGS="%{build_rustflags}" %endif -%configure --disable-silent-rules --enable-gtk-doc %{?sqlite_rpmdb_default} %{?with_sanitizers:--enable-sanitizers} +%configure --disable-silent-rules --enable-gtk-doc %{?rpmdb_default} %{?with_sanitizers:--enable-sanitizers} %{?with_bin_unit_tests:--enable-bin-unit-tests} \ + %{?with_rhsm:--enable-featuresrs=rhsm} %make_build @@ -208,6 +226,12 @@ $PYTHON autofiles.py > files.devel \ %files devel -f files.devel %changelog +* Wed Jun 15 2022 Colin Walters - 2022.2.8.gd50a74bd-2 +- Update to latest rhel8 branch + https://github.com/coreos/rpm-ostree/pull/3749 + https://github.com/coreos/rpm-ostree/pull/3751 + Resolves: rhbz#2095528 + * Mon Feb 07 2022 Colin Walters - 2022.2-2 - Rebase to 2022.1 diff --git a/sources b/sources index 3e72fe8..df47a4b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rpm-ostree-2022.2.tar.xz) = acbaa419493afe91ab9568b5a705237efad818b63f1abb05279dff199049de959a2a3ec1d9258fb2324af663ce01747852d2790add877dc704991acada99b84f +SHA512 (rpm-ostree-2022.2.8.gd50a74bd.tar.xz) = 93594064edba1be59f6f6c6153bb78272a90c8f7cc1915bec4b6b074b79deecd2a4061eba7df593b9d0fc27a45503d56aeba0cd162413593c3d6b2b921a62981