Joseph Marrero 2022-02-04 17:35:45 +00:00
commit cc15a96f0d

View File

@ -3,8 +3,8 @@
Summary: Hybrid image/package system Summary: Hybrid image/package system
Name: rpm-ostree Name: rpm-ostree
Version: 2022.1 Version: 2022.2
Release: 3%{?dist} Release: 1%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/coreos/rpm-ostree URL: https://github.com/coreos/rpm-ostree
# This tarball is generated via "cd packaging && make -f Makefile.dist-packaging dist-snapshot" # This tarball is generated via "cd packaging && make -f Makefile.dist-packaging dist-snapshot"
@ -24,12 +24,12 @@ BuildRequires: rust
# Enable ASAN + UBSAN # Enable ASAN + UBSAN
%bcond_with sanitizers %bcond_with sanitizers
# Embedded unit tests
%bcond_with bin_unit_tests
# RHEL8 doesn't ship zchunk today. See also the comments # RHEL (8,9) doesn't ship zchunk today. Keep this in sync
# in configure.ac around this as libdnf/librepo need to be in # with libdnf: https://gitlab.com/redhat/centos-stream/rpms/libdnf/-/blob/762f631e36d1e42c63a794882269d26c156b68c1/libdnf.spec#L45
# sync, and today we bundle libdnf but not librepo. Also %if 0%{?rhel}
# flip the rpmdb default to be bdb.
%if 0%{?rhel} && 0%{?rhel} <= 8
%bcond_with zchunk %bcond_with zchunk
%else %else
%bcond_without zchunk %bcond_without zchunk
@ -46,7 +46,7 @@ BuildRequires: gnome-common
BuildRequires: /usr/bin/g-ir-scanner BuildRequires: /usr/bin/g-ir-scanner
# Core requirements # Core requirements
# One way to check this: `objdump -p /path/to/rpm-ostree | grep LIBOSTREE` and pick the highest (though that might miss e.g. new struct members) # One way to check this: `objdump -p /path/to/rpm-ostree | grep LIBOSTREE` and pick the highest (though that might miss e.g. new struct members)
BuildRequires: pkgconfig(ostree-1) >= 2021.1 BuildRequires: pkgconfig(ostree-1) >= 2021.5
BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(json-glib-1.0)
BuildRequires: pkgconfig(rpm) >= 4.14.0 BuildRequires: pkgconfig(rpm) >= 4.14.0
@ -70,6 +70,11 @@ BuildRequires: pkgconfig(check)
# but duplicating to be clear) # but duplicating to be clear)
BuildRequires: pkgconfig(libsolv) BuildRequires: pkgconfig(libsolv)
# These are build deps which aren't strictly required in Koji/Brew builds, but
# are required for git builds. Since they're few and tiny, we just add it here
# to keep it part of `dnf builddep`.
BuildRequires: jq
######################################################################### #########################################################################
# libdnf build deps # # libdnf build deps #
# # # #
@ -119,6 +124,10 @@ Requires: ostree
Requires: bubblewrap Requires: bubblewrap
Requires: fuse Requires: fuse
# For container functionality
# https://github.com/coreos/rpm-ostree/issues/3286
Recommends: skopeo
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description %description
@ -156,7 +165,7 @@ env NOCONFIGURE=1 ./autogen.sh
%if 0%{?build_rustflags:1} %if 0%{?build_rustflags:1}
export RUSTFLAGS="%{build_rustflags}" export RUSTFLAGS="%{build_rustflags}"
%endif %endif
%configure --disable-silent-rules --enable-gtk-doc %{?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}
%make_build %make_build
@ -221,6 +230,9 @@ $PYTHON autofiles.py > files.devel \
%files devel -f files.devel %files devel -f files.devel
%changelog %changelog
* Thu Feb 03 2022 Joseph Marrero <jmarrero@fedoraproject.org> - 2022.2-1
- https://github.com/coreos/rpm-ostree/releases/tag/v2022.2
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1-3 * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild