commit 0513dcee21524c2b61ba42847197603971906df0 Author: MSVSphere Packaging Team Date: Fri Oct 25 19:09:27 2024 +0300 import rpm-ostree-2024.8-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..218d496 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rpm-ostree-2024.8.tar.xz diff --git a/.rpm-ostree.metadata b/.rpm-ostree.metadata new file mode 100644 index 0000000..ef39e14 --- /dev/null +++ b/.rpm-ostree.metadata @@ -0,0 +1 @@ +08048e4a03d50ec415a469eb0e323ea1c2ac044b SOURCES/rpm-ostree-2024.8.tar.xz diff --git a/SOURCES/0001-treefile-Add-ignore-devices.patch b/SOURCES/0001-treefile-Add-ignore-devices.patch new file mode 100644 index 0000000..f596eb3 --- /dev/null +++ b/SOURCES/0001-treefile-Add-ignore-devices.patch @@ -0,0 +1,332 @@ +From f17b7e57883b4d211d3b0ed427fc4ce66cbe49ee Mon Sep 17 00:00:00 2001 +From: Colin Walters +Date: Tue, 1 Oct 2024 17:56:38 -0400 +Subject: [PATCH 1/1] treefile: Add ignore-devices + +We hit another case where people are pulling a container image +with devices in `/dev` in the tar stream; they're then trying +to commit this to an ostree. + +There's much better ways to fix this: + +- Change the image to stop including devices as there's no reason + to do so +- Switch to logically bound images instead of physically bound +- Use the composefs backend for c/storage + +Eventually I may look at "quoting" generally in ostree, but +it's fairly invasive: https://github.com/ostreedev/ostree/issues/2568 + +In practice today, simply ignoring the files will happen to work +for "podman run" of such images; podman will just use overlayfs +to stitch together the `diff` directories, and doesn't try to do +any validation of their contents today. +(Queue the composefs integration, which *would* do that but would + also fix this anwyays) + +Signed-off-by: Colin Walters +--- + docs/treefile.md | 4 ++ + rpmostree-cxxrs.cxx | 11 ++-- + rpmostree-cxxrs.h | 5 +- + rust/src/composepost.rs | 74 +++++++++++++++++++-------- + rust/src/lib.rs | 2 +- + rust/src/treefile.rs | 7 +++ + src/libpriv/rpmostree-postprocess.cxx | 2 +- + tests/compose/test-installroot.sh | 8 +++ + 8 files changed, 84 insertions(+), 29 deletions(-) + +diff --git a/docs/treefile.md b/docs/treefile.md +index 9839589e..49e193d1 100644 +--- a/docs/treefile.md ++++ b/docs/treefile.md +@@ -36,6 +36,10 @@ It supports the following parameters: + * `selinux`: boolean, optional: Defaults to `true`. If `false`, then + no SELinux labeling will be performed on the server side. + ++ * `ignore-devices`: boolean, optional: Defaults to `true`. If `true`, then ++ all character and block device files found in the target root (except overlayfs ++ whiteouts, which are automatically "quoted") will be ignored. ++ + * `ima`: boolean, optional: Defaults to `false`. Propagate any + IMA signatures in input RPMs into the final OSTree commit. + +diff --git a/rpmostree-cxxrs.cxx b/rpmostree-cxxrs.cxx +index 649d1b7b..2a4cb12c 100644 +--- a/rpmostree-cxxrs.cxx ++++ b/rpmostree-cxxrs.cxx +@@ -192,6 +192,8 @@ public: + Slice () noexcept; + Slice (T *, std::size_t count) noexcept; + ++ template explicit Slice (C &c) : Slice (c.data (), c.size ()) {} ++ + Slice &operator= (const Slice &) &noexcept = default; + Slice &operator= (Slice &&) &noexcept = default; + +@@ -2206,8 +2208,8 @@ extern "C" + ::std::int32_t rootfs_dfd, ::rpmostreecxx::Treefile &treefile, ::rust::Str next_version, + bool unified_core) noexcept; + +- ::rust::repr::PtrLen +- rpmostreecxx$cxxbridge1$compose_postprocess_final_pre (::std::int32_t rootfs_dfd) noexcept; ++ ::rust::repr::PtrLen rpmostreecxx$cxxbridge1$compose_postprocess_final_pre ( ++ ::std::int32_t rootfs_dfd, ::rpmostreecxx::Treefile const &treefile) noexcept; + + ::rust::repr::PtrLen rpmostreecxx$cxxbridge1$compose_postprocess_final ( + ::std::int32_t rootfs_dfd, ::rpmostreecxx::Treefile const &treefile) noexcept; +@@ -4011,9 +4013,10 @@ compose_postprocess (::std::int32_t rootfs_dfd, ::rpmostreecxx::Treefile &treefi + } + + void +-compose_postprocess_final_pre (::std::int32_t rootfs_dfd) ++compose_postprocess_final_pre (::std::int32_t rootfs_dfd, ::rpmostreecxx::Treefile const &treefile) + { +- ::rust::repr::PtrLen error$ = rpmostreecxx$cxxbridge1$compose_postprocess_final_pre (rootfs_dfd); ++ ::rust::repr::PtrLen error$ ++ = rpmostreecxx$cxxbridge1$compose_postprocess_final_pre (rootfs_dfd, treefile); + if (error$.ptr) + { + throw ::rust::impl< ::rust::Error>::error (error$); +diff --git a/rpmostree-cxxrs.h b/rpmostree-cxxrs.h +index d38fd1db..9d62380e 100644 +--- a/rpmostree-cxxrs.h ++++ b/rpmostree-cxxrs.h +@@ -191,6 +191,8 @@ public: + Slice () noexcept; + Slice (T *, std::size_t count) noexcept; + ++ template explicit Slice (C &c) : Slice (c.data (), c.size ()) {} ++ + Slice &operator= (const Slice &) &noexcept = default; + Slice &operator= (Slice &&) &noexcept = default; + +@@ -1867,7 +1869,8 @@ void composepost_nsswitch_altfiles (::std::int32_t rootfs_dfd); + void compose_postprocess (::std::int32_t rootfs_dfd, ::rpmostreecxx::Treefile &treefile, + ::rust::Str next_version, bool unified_core); + +-void compose_postprocess_final_pre (::std::int32_t rootfs_dfd); ++void compose_postprocess_final_pre (::std::int32_t rootfs_dfd, ++ ::rpmostreecxx::Treefile const &treefile); + + void compose_postprocess_final (::std::int32_t rootfs_dfd, + ::rpmostreecxx::Treefile const &treefile); +diff --git a/rust/src/composepost.rs b/rust/src/composepost.rs +index 1a5ae869..8049d502 100644 +--- a/rust/src/composepost.rs ++++ b/rust/src/composepost.rs +@@ -295,40 +295,69 @@ fn is_overlay_whiteout(meta: &cap_std::fs::Metadata) -> bool { + (meta.mode() & libc::S_IFMT) == libc::S_IFCHR && meta.rdev() == 0 + } + +-/// Auto-synthesize embedded overlayfs whiteouts; for more information +-/// see https://github.com/ostreedev/ostree/pull/2722/commits/0085494e350c72599fc5c0e00422885d80b3c660 +-#[context("Postprocessing embedded overlayfs")] +-fn postprocess_embedded_ovl_whiteouts(root: &Dir) -> Result<()> { ++/// Automatically "quote" embeded overlayfs whiteouts as regular files, and ++/// if configured error out on devices or ignore them. ++/// For more on overlayfs, see https://github.com/ostreedev/ostree/pull/2722/commits/0085494e350c72599fc5c0e00422885d80b3c660 ++#[context("Postprocessing devices")] ++fn postprocess_devices(root: &Dir, treefile: &Treefile) -> Result<()> { + const OSTREE_WHITEOUT_PREFIX: &str = ".ostree-wh."; +- fn recurse(root: &Dir, path: &Utf8Path) -> Result { +- let mut n = 0; ++ let mut n_overlay = 0u64; ++ let mut n_devices = 0u64; ++ fn recurse( ++ root: &Dir, ++ path: &Utf8Path, ++ ignore_devices: bool, ++ n_overlay: &mut u64, ++ n_devices: &mut u64, ++ ) -> Result<()> { + for entry in root.read_dir(path)? { + let entry = entry?; + let meta = entry.metadata()?; + let name = PathBuf::from(entry.file_name()); + let name: Utf8PathBuf = name.try_into()?; + if meta.is_dir() { +- n += recurse(root, &path.join(name))?; ++ recurse(root, &path.join(name), ignore_devices, n_overlay, n_devices)?; + continue; + } +- if !is_overlay_whiteout(&meta) { ++ let is_device = matches!(meta.mode() & libc::S_IFMT, libc::S_IFCHR | libc::S_IFBLK); ++ if !is_device { + continue; +- }; ++ } + let srcpath = path.join(&name); +- let targetname = format!("{OSTREE_WHITEOUT_PREFIX}{name}"); +- let destpath = path.join(&targetname); +- root.remove_file(srcpath)?; +- root.atomic_write_with_perms(destpath, "", meta.permissions())?; +- n += 1; ++ if is_overlay_whiteout(&meta) { ++ let targetname = format!("{OSTREE_WHITEOUT_PREFIX}{name}"); ++ let destpath = path.join(&targetname); ++ root.remove_file(srcpath)?; ++ root.atomic_write_with_perms(destpath, "", meta.permissions())?; ++ *n_overlay += 1; ++ continue; ++ } ++ if ignore_devices { ++ root.remove_file(srcpath)?; ++ *n_devices += 1; ++ } else { ++ anyhow::bail!("Unsupported device file: {srcpath}") ++ } + } +- Ok(n) ++ Ok(()) + } +- let n = recurse(root, ".".into())?; +- if n > 0 { +- println!("Processed {n} embedded whiteouts"); ++ recurse( ++ root, ++ ".".into(), ++ treefile.get_ignore_devices(), ++ &mut n_overlay, ++ &mut n_devices, ++ )?; ++ if n_overlay > 0 { ++ println!("Processed {n_overlay} embedded whiteouts"); + } else { + println!("No embedded whiteouts found"); + } ++ if n_devices > 0 { ++ println!("Ignored {n_devices} device files"); ++ } else { ++ println!("No device files found"); ++ } + Ok(()) + } + +@@ -420,7 +449,7 @@ pub(crate) fn postprocess_cleanup_rpmdb(rootfs_dfd: i32) -> CxxResult<()> { + /// it as the bits of that function that we've chosen to implement in Rust. + /// It takes care of all things that are really required to use rpm-ostree + /// on the target host. +-pub fn compose_postprocess_final_pre(rootfs_dfd: i32) -> CxxResult<()> { ++pub fn compose_postprocess_final_pre(rootfs_dfd: i32, treefile: &Treefile) -> CxxResult<()> { + let rootfs_dfd = unsafe { &crate::ffiutil::ffi_dirfd(rootfs_dfd)? }; + // These tasks can safely run in parallel, so just for fun we do so via rayon. + let tasks = [ +@@ -430,7 +459,7 @@ pub fn compose_postprocess_final_pre(rootfs_dfd: i32) -> CxxResult<()> { + ]; + tasks.par_iter().try_for_each(|f| f(rootfs_dfd))?; + // This task recursively traverses the filesystem and hence should be serial. +- postprocess_embedded_ovl_whiteouts(rootfs_dfd)?; ++ postprocess_devices(rootfs_dfd, treefile)?; + Ok(()) + } + +@@ -1533,11 +1562,12 @@ OSTREE_VERSION='33.4' + // We don't actually test creating whiteout devices here as that + // may not work. + let td = cap_tempfile::tempdir(cap_std::ambient_authority())?; ++ let tf = crate::treefile::tests::new_test_tf_basic("")?; + // Verify no-op case +- postprocess_embedded_ovl_whiteouts(&td).unwrap(); ++ postprocess_devices(&td, &tf).unwrap(); + td.create("foo")?; + td.symlink("foo", "bar")?; +- postprocess_embedded_ovl_whiteouts(&td).unwrap(); ++ postprocess_devices(&td, &tf).unwrap(); + assert!(td.try_exists("foo")?); + assert!(td.try_exists("bar")?); + +diff --git a/rust/src/lib.rs b/rust/src/lib.rs +index 56d8b57f..5356dc8c 100644 +--- a/rust/src/lib.rs ++++ b/rust/src/lib.rs +@@ -299,7 +299,7 @@ pub mod ffi { + next_version: &str, + unified_core: bool, + ) -> Result<()>; +- fn compose_postprocess_final_pre(rootfs_dfd: i32) -> Result<()>; ++ fn compose_postprocess_final_pre(rootfs_dfd: i32, treefile: &Treefile) -> Result<()>; + fn compose_postprocess_final(rootfs_dfd: i32, treefile: &Treefile) -> Result<()>; + fn convert_var_to_tmpfiles_d(rootfs_dfd: i32, cancellable: &GCancellable) -> Result<()>; + fn rootfs_prepare_links( +diff --git a/rust/src/treefile.rs b/rust/src/treefile.rs +index da6c0ca7..51dfff6d 100644 +--- a/rust/src/treefile.rs ++++ b/rust/src/treefile.rs +@@ -394,6 +394,7 @@ fn treefile_merge(dest: &mut TreeComposeConfig, src: &mut TreeComposeConfig) { + rojig, + selinux, + selinux_label_version, ++ ignore_devices, + ima, + gpg_key, + include, +@@ -1245,6 +1246,10 @@ impl Treefile { + self.parsed.base.selinux.unwrap_or(true) + } + ++ pub(crate) fn get_ignore_devices(&self) -> bool { ++ self.parsed.base.ignore_devices.unwrap_or(true) ++ } ++ + pub(crate) fn get_selinux_label_version(&self) -> u32 { + self.parsed.base.selinux_label_version.unwrap_or_default() + } +@@ -2414,6 +2419,8 @@ pub(crate) struct BaseComposeConfigFields { + #[serde(skip_serializing_if = "Option::is_none")] + pub(crate) selinux: Option, + #[serde(skip_serializing_if = "Option::is_none")] ++ pub(crate) ignore_devices: Option, ++ #[serde(skip_serializing_if = "Option::is_none")] + pub(crate) selinux_label_version: Option, + #[serde(skip_serializing_if = "Option::is_none")] + pub(crate) ima: Option, +diff --git a/src/libpriv/rpmostree-postprocess.cxx b/src/libpriv/rpmostree-postprocess.cxx +index 311de70f..c086bcdd 100644 +--- a/src/libpriv/rpmostree-postprocess.cxx ++++ b/src/libpriv/rpmostree-postprocess.cxx +@@ -381,7 +381,7 @@ postprocess_final (int rootfs_dfd, rpmostreecxx::Treefile &treefile, gboolean un + + auto selinux = treefile.get_selinux (); + +- ROSCXX_TRY (compose_postprocess_final_pre (rootfs_dfd), error); ++ ROSCXX_TRY (compose_postprocess_final_pre (rootfs_dfd, treefile), error); + + if (selinux) + { +diff --git a/tests/compose/test-installroot.sh b/tests/compose/test-installroot.sh +index 3e40f679..90a11ee3 100755 +--- a/tests/compose/test-installroot.sh ++++ b/tests/compose/test-installroot.sh +@@ -7,6 +7,8 @@ dn=$(cd "$(dirname "$0")" && pwd) + + # This is used to test postprocessing with treefile vs not + treefile_set "boot-location" '"new"' ++# On by default now: ++# treefile_set "ignore-devices" 'True' + + # This test is a bit of a degenerative case of the supermin abstration. We need + # to be able to interact with the compose output directly, feed it back to +@@ -56,6 +58,7 @@ testdate=$(date) + runasroot sh -xec " + # https://github.com/ostreedev/ostree/pull/2717/commits/e234b630f85b97e48ecf45d5aaba9b1aa64e6b54 + mknod -m 000 ${instroot}-directcommit/usr/share/foowhiteout c 0 0 ++mknod -m 000 ${instroot}-directcommit/usr/share/devzero c 1 5 + echo \"${testdate}\" > ${instroot}-directcommit/usr/share/rpm-ostree-composetest-split.txt + ! test -f ${instroot}-directcommit/${integrationconf} + rpm-ostree compose commit --repo=${repo} ${treefile} ${instroot}-directcommit +@@ -69,6 +72,11 @@ ostree --repo=${repo} ls ${treeref} /usr/share + ostree --repo=${repo} ls ${treeref} /usr/share/.ostree-wh.foowhiteout >out.txt + grep -Ee '^-00000' out.txt + ++# And the devzero should have been ignored ++if ostree --repo=${repo} ls ${treeref} /usr/share/devzero; then ++ echo \"found devzero\" 1>&2; exit 1 ++fi ++ + ostree --repo=${repo} cat ${treeref} /usr/share/rpm-ostree-composetest-split.txt >out.txt + grep \"${testdate}\" out.txt + ostree --repo=${repo} cat ${treeref} /${integrationconf} +-- +2.47.0 + diff --git a/SPECS/rpm-ostree.spec b/SPECS/rpm-ostree.spec new file mode 100644 index 0000000..776ce8a --- /dev/null +++ b/SPECS/rpm-ostree.spec @@ -0,0 +1,1125 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# The canonical copy of this spec file is upstream at: +# https://github.com/coreos/rpm-ostree/blob/main/packaging/rpm-ostree.spec.in + +Summary: Hybrid image/package system +Name: rpm-ostree +Version: 2024.8 +Release: %autorelease +License: LGPL-2.0-or-later +URL: https://github.com/coreos/rpm-ostree +# This tarball is generated via "cd packaging && make -f Makefile.dist-packaging dist-snapshot" +# in the upstream git. It also contains vendored Rust sources. +Source0: https://github.com/coreos/rpm-ostree/releases/download/v%{version}/rpm-ostree-%{version}.tar.xz + +Patch0: 0001-treefile-Add-ignore-devices.patch + +ExclusiveArch: %{rust_arches} + +# ostree not on i686 for RHEL 10 +# https://github.com/containers/composefs/pull/229#issuecomment-1838735764 +%if 0%{?rhel} >= 10 +ExcludeArch: %{ix86} +%endif + +BuildRequires: make +%if 0%{?rhel} +BuildRequires: rust-toolset +%else +BuildRequires: rust-packaging +BuildRequires: cargo +BuildRequires: rust +%endif + +# 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 + +# RHEL (8,9) doesn't ship zchunk today. Keep this in sync +# with libdnf: https://gitlab.com/redhat/centos-stream/rpms/libdnf/-/blob/762f631e36d1e42c63a794882269d26c156b68c1/libdnf.spec#L45 +%if 0%{?rhel} +%bcond_with zchunk +%else +%bcond_without zchunk +%endif + +# For the autofiles bits below +BuildRequires: python3-devel +# We always run autogen.sh +BuildRequires: autoconf automake libtool git +# For docs +BuildRequires: chrpath +BuildRequires: gtk-doc +BuildRequires: /usr/bin/g-ir-scanner +# 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) +BuildRequires: pkgconfig(ostree-1) >= 2021.5 +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(rpm) >= 4.14.0 +BuildRequires: pkgconfig(libarchive) +BuildRequires: pkgconfig(libsystemd) +BuildRequires: libcap-devel +BuildRequires: libattr-devel +# Needed by the ostree-ext crate +BuildRequires: libzstd-devel + +# We currently interact directly with librepo (libdnf below also pulls it in, +# but duplicating to be clear) +BuildRequires: pkgconfig(librepo) + +# Needed by curl-rust +BuildRequires: pkgconfig(libcurl) + +BuildRequires: cmake +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(check) + +# We use some libsolv types directly too (libdnf below also pulls it in, +# but duplicating to be clear) +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 # +# # +# Copy/pasted from libdnf/libdnf.spec. Removed the irrelevant bits like # +# valgrind, rhsm, swig, python, and sanitizer stuff. # +######################################################################### + + +%global libsolv_version 0.7.21 +%global libmodulemd_version 2.13.0 +%global librepo_version 1.13.1 + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libsolv-devel >= %{libsolv_version} +BuildRequires: pkgconfig(librepo) >= %{librepo_version} +BuildRequires: pkgconfig(check) +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.46.0 +BuildRequires: pkgconfig(gtk-doc) +BuildRequires: rpm-devel >= 4.15.0 +%if %{with rhsm} +BuildRequires: pkgconfig(librhsm) >= 0.0.3 +%endif +%if %{with zchunk} +BuildRequires: pkgconfig(zck) >= 0.9.11 +%endif +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(json-c) +BuildRequires: pkgconfig(cppunit) +BuildRequires: pkgconfig(modulemd-2.0) >= %{libmodulemd_version} +BuildRequires: pkgconfig(smartcols) +BuildRequires: gettext +BuildRequires: gpgme-devel + +Requires: libmodulemd%{?_isa} >= %{libmodulemd_version} +Requires: libsolv%{?_isa} >= %{libsolv_version} +Requires: librepo%{?_isa} >= %{librepo_version} + +######################################################################### +# end of libdnf build deps # +######################################################################### + +# For now...see https://github.com/projectatomic/rpm-ostree/pull/637 +# and https://github.com/fedora-infra/fedmsg-atomic-composer/pull/17 +# etc. We'll drop this dependency at some point in the future when +# rpm-ostree wraps more of ostree (such as `ostree admin unlock` etc.) +Requires: ostree +Requires: bubblewrap +# We have been building with fuse but changed to fuse3 on: +# https://src.fedoraproject.org/rpms/rpm-ostree/c/3c602a23787fd2df873c0b18df3133c9fec4b66a +# However our code is just calling fuse's fusermount. +# We are updating our spec and code based on the discusion on: +# https://github.com/coreos/rpm-ostree/pull/5047 +%if %{defined rhel} && 0%{?rhel} < 10 +Requires: fuse +%else +Requires: fuse3 +%endif + +# For container functionality +# https://github.com/coreos/rpm-ostree/issues/3286 +Requires: skopeo + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description +rpm-ostree is a hybrid image/package system. It supports +"composing" packages on a build server into an OSTree repository, +which can then be replicated by client systems with atomic upgrades. +Additionally, unlike many "pure" image systems, with rpm-ostree +each client system can layer on additional packages, providing +a "best of both worlds" approach. + +%package libs +Summary: Shared library for rpm-ostree + +%description libs +The %{name}-libs package includes the shared library for %{name}. + +%package devel +Summary: Development headers for %{name} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package includes the header files for %{name}-libs. + +%prep +%autosetup -Sgit -n %{name}-%{version} -p1 +%if 0%{?__isa_bits} == 32 +sed -ie 's,^lto = true,lto = false,' Cargo.toml +%endif + +%build +env NOCONFIGURE=1 ./autogen.sh +# Since we're hybrid C++/Rust we need to propagate this manually; +# the %%configure macro today assumes (reasonably) that one is building +# C/C++ and sets C{,XX}FLAGS +%if 0%{?build_rustflags:1} +export RUSTFLAGS="%{build_rustflags}" +%endif +%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 +%if 0%{?fedora} || 0%{?rhel} >= 10 +%cargo_license_summary +%{cargo_license} > LICENSE.dependencies +%cargo_vendor_manifest +%endif + +%install +%make_install INSTALL="install -p -c" +find $RPM_BUILD_ROOT -name '*.la' -delete + +# I try to do continuous delivery via rpmdistro-gitoverlay while +# reusing the existing spec files. Currently RPM only supports +# mandatory file entries. What this is doing is making each file +# entry optional - if it exists it will be picked up. That +# way the same spec file works more easily across multiple versions where e.g. an +# older version might not have a systemd unit file. +cat > autofiles.py < 0: + sys.stderr.write('{0} matched {1} files\n'.format(line, len(files))) + sys.stdout.write(line + '\n') + else: + sys.stderr.write('{0} did not match any files\n'.format(line)) +EOF +PYTHON='%{python3}' +if ! test -x '%{python3}'; then + PYTHON=python2 +fi +$PYTHON autofiles.py > files \ + '%{_bindir}/*' \ + '%{_libdir}/%{name}' \ + '%{_mandir}/man*/*' \ + '%{_datadir}/dbus-1/system.d/*' \ + '%{_sysconfdir}/rpm-ostreed.conf' \ + '%{_prefix}/lib/systemd/system/*' \ + '%{_libexecdir}/rpm-ostree*' \ + '%{_libexecdir}/libostree/ext/*' \ + '%{_datadir}/polkit-1/actions/*.policy' \ + '%{_datadir}/dbus-1/system-services/*' \ + '%{_datadir}/bash-completion/completions/*' + +$PYTHON autofiles.py > files.lib \ + '%{_libdir}/*.so.*' \ + '%{_libdir}/girepository-1.0/*.typelib' + +$PYTHON autofiles.py > files.devel \ + '%{_libdir}/lib*.so' \ + '%{_includedir}/*' \ + '%{_datadir}/dbus-1/interfaces/org.projectatomic.rpmostree1.xml' \ + '%{_libdir}/pkgconfig/*' \ + '%{_datadir}/gtk-doc/html/*' \ + '%{_datadir}/gir-1.0/*-1.0.gir' + +# Setup rpm-ostree-countme.timer according to presets +%post +%systemd_post rpm-ostree-countme.timer +# Only enable on rpm-ostree based systems and manually force unit enablement to +# explicitly ignore presets for this security fix +if [ -e /run/ostree-booted ]; then + ln -snf /usr/lib/systemd/system/rpm-ostree-fix-shadow-mode.service /usr/lib/systemd/system/multi-user.target.wants/ +fi + +%preun +%systemd_preun rpm-ostree-countme.timer + +%postun +%systemd_postun_with_restart rpm-ostree-countme.timer + +%files -f files +%doc COPYING.GPL COPYING.LGPL LICENSE README.md + +%files libs -f files.lib +%if 0%{?fedora} || 0%{?rhel} >= 10 +%license LICENSE.dependencies +%license cargo-vendor.txt +%endif + +%files devel -f files.devel + +%changelog +## START: Generated by rpmautospec +* Thu Oct 17 2024 Joseph Marrero Corchado - 2024.8-2 +- Backport https://github.com/coreos/rpm-ostree/pull/5114 + +* Fri Sep 06 2024 Joseph Marrero Corchado - 2024.8-1 +- Rebase to 2024.8 + +* Thu Aug 15 2024 Joseph Marrero - 2024.7-2 +- Backport https://github.com/coreos/rpm-ostree/pull/5051 + +* Wed Aug 14 2024 Joseph Marrero - 2024.7-1 +- Release 2024.7 + +* Mon Jun 24 2024 Troy Dawson - 2024.6-2 +- Bump release for June 2024 mass rebuild + +* Tue May 21 2024 Joseph Marrero - 2024.6-1 +- Release 2024.6 + +* Tue Apr 16 2024 Joseph Marrero Corchado - 2024.5-1 +- Resolves #RHEL-30414 + +* Tue Apr 16 2024 Joseph Marrero Corchado - 2024.2-2 +- Add gating yaml + +* Thu Jan 25 2024 Joseph Marrero - 2024.2-1 +- Release 2024.2 + +* Mon Jan 22 2024 Fedora Release Engineering - 2024.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jan 02 2024 Colin Walters - 2024.1-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2024.1 + +* Mon Dec 18 2023 Joseph Marrero - 2023.12-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.12 + +* Wed Nov 29 2023 Joseph Marrero - 2023.11-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.11 + +* Wed Nov 15 2023 Timothée Ravier - 2023.10-4 +- Setup rpm-ostree-countme.timer according to presets + +* Thu Oct 26 2023 Colin Walters - 2023.10-3 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.10 + +* Wed Oct 04 2023 Joseph Marrero - 2023.8-3 +- Update python3 macros and dependency. + +* Wed Sep 27 2023 Colin Walters - 2023.8-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.8 + +* Tue Aug 29 2023 Colin Walters - 2023.6-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.7 + +* Fri Jul 21 2023 Fedora Release Engineering - 2023.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 21 2023 Joseph Marrero - 2023.5-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.5 + +* Tue Jun 13 2023 Joseph Marrero - 2023.4-5 +- Switch License tags to SPDX + +* Thu May 25 2023 Adam Williamson - 2023.4-4 +- Backport libdnf patches to work with rpm-4.19 + +* Fri May 19 2023 Petr Pisar - 2023.4-3 +- Rebuild against rpm-4.19 (https://fedoraproject.org/wiki/Changes/RPM-4.19) + +* Thu May 18 2023 Colin Walters - 2023.4-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.4 + +* Mon Apr 24 2023 Joseph Marrero - 2023.3-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.3 + +* Tue Mar 07 2023 Joseph Marrero - 2023.2-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.2 + +* Thu Feb 16 2023 Colin Walters - 2023.1-4 +- Cherry pick + https://github.com/coreos/rpm-ostree/pull/4308/commits/476afb1d08513cb74cd1d28490c5e028c70f67c2 + +* Sun Feb 05 2023 Fabio Valentini - 2023.1-3 +- Rebuild for fixed frame pointer compiler flags in Rust RPM macros. + +* Fri Jan 20 2023 Fedora Release Engineering - 2023.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Jan 16 2023 Jonathan Lebon - 2023.1-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2023.1 + +* Tue Dec 20 2022 Colin Walters - 2022.19-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.19 + +* Tue Dec 13 2022 Colin Walters - 2022.18-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.18 + +* Mon Dec 12 2022 Colin Walters - 2022.17-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.17 + +* Mon Nov 28 2022 Colin Walters - 2022.16-2 +- Cherry pick https://github.com/coreos/rpm-ostree/pull/4166 + +* Fri Nov 18 2022 Jonathan Lebon - 2022.16-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.16 + +* Wed Nov 02 2022 Jonathan Lebon - 2022.15-3 +- Backport semanage bug workaround + https://github.com/coreos/rpm-ostree/pull/4122 + +* Tue Nov 01 2022 Colin Walters - 2022.15-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.15 + +* Thu Oct 13 2022 Joseph Marrero - 2022.14-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.14 + +* Sat Aug 27 2022 Colin Walters - 2022.13-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.13 + +* Sun Aug 07 2022 Colin Walters - 2022.12-4 +- Cherry pick patch to work around filesystem package + +* Sat Jul 23 2022 Fedora Release Engineering - 2022.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Jul 19 2022 Colin Walters - 2022.12-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.12 + +* Mon Jul 11 2022 Colin Walters - 2022.11-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.11 + +* Thu Jun 16 2022 Colin Walters - 2022.10-3 +- Backport https://github.com/coreos/rpm-ostree/pull/3771 + +* Tue Jun 14 2022 Colin Walters - 2022.10-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.10 + +* Fri May 13 2022 Jonathan Lebon - 2022.9-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.9 + +* Wed Apr 20 2022 Colin Walters - 2022.8-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.8 + +* Mon Apr 11 2022 Colin Walters - 2022.7-2 +- Rebase to 2022.7 + +* Fri Apr 08 2022 Colin Walters - 2022.6-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.6 + +* Thu Mar 24 2022 Jonathan Lebon - 2022.5.80.gb7f91619 +- Git snapshot for https://github.com/coreos/rpm-ostree/pull/3535 + +* Thu Mar 03 2022 Jonathan Lebon - 2022.5-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.5 + +* Tue Mar 01 2022 Joseph Marrero - 2022.4-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.4 + +* Mon Feb 28 2022 Joseph Marrero - 2022.3-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.3 + +* Thu Feb 03 2022 Joseph Marrero - 2022.2-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.2 + +* Fri Jan 21 2022 Fedora Release Engineering - 2022.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jan 07 2022 Colin Walters - 2022.1-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2022.1 + +* Wed Nov 17 2021 Colin Walters - 2021.14-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.14 + +* Wed Nov 03 2021 Luca BRUNO - 2021.13-2 +- Backport patch to fix F35 rebases through DBus + https://github.com/coreos/rpm-ostree/pull/3199 + +* Tue Nov 02 2021 Luca BRUNO - 2021.13-1 +- New upstream version + https://github.com/coreos/rpm-ostree/releases/tag/v2021.13 + +* Thu Oct 14 2021 Colin Walters - 2021.12-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.12 + +* Thu Sep 30 2021 Colin Walters - 2021.11-3 +- Backport patch for openshift/os extensions + multiarch + +* Fri Sep 24 2021 Colin Walters - 2021.11-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.11 + +* Tue Sep 14 2021 Sahana Prasad - 2021.10-3 +- Rebuilt with OpenSSL 3.0.0 + +* Fri Aug 27 2021 Colin Walters - 2021.10-2 +- Backport + https://github.com/coreos/rpm-ostree/pull/3095/commits/1d445170b97e8eaad6979b68f1c3ce3481c801ea + +* Thu Aug 26 2021 Jonathan Lebon - 2021.10-1 +- New release v2021.10 + https://github.com/coreos/rpm-ostree/releases/tag/v2021.10 + +* Thu Aug 19 2021 Colin Walters - 2021.9-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.9 + +* Fri Jul 23 2021 Fedora Release Engineering - 2021.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jul 19 2021 Jonathan Lebon - 2021.7-1 +- New release v2021.7 + https://github.com/coreos/rpm-ostree/releases/tag/v2021.7 + +* Sat Jul 10 2021 Björn Esser - 2021.6-3 +- Rebuild for versioned symbols in json-c + +* Tue Jun 22 2021 Colin Walters +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.6 + +* Thu Jun 17 2021 Luca BRUNO - 2021.5-2 +- Backport _dbpath fixes, see + https://github.com/coreos/rpm-ostree/issues/2904 + +* Wed May 12 2021 Luca BRUNO - 2021.5-1 +- New upstream version + https://github.com/coreos/rpm-ostree/releases/tag/v2021.5 + +* Sun May 09 2021 Jeff Law - 2021.4-4 +- Re-enable LTO + +* Wed Apr 28 2021 Colin Walters - 2021.4-3 +- Backport another patch for https://pagure.io/fedora-infrastructure/issue/9909 + +* Tue Apr 27 2021 Colin Walters - 2021.4-2 +- Backport patch for https://pagure.io/fedora-infrastructure/issue/9909 + +* Mon Apr 12 2021 Jonathan Lebon - 2021.4-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.4 + +* Wed Mar 17 2021 Colin Walters - 2021.3-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.3 + +* Wed Feb 17 2021 Colin Walters - 2021.2-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.2 + +* Wed Feb 10 2021 Colin Walters - 2021.1-4 +- Backport patches from https://github.com/coreos/rpm-ostree/pull/2553 + +* Tue Jan 26 2021 Jonathan Lebon - 2021.1-3 +- Backport https://github.com/coreos/rpm-ostree/pull/2490 for rawhide + +* Tue Jan 19 15:08:59 UTC 2021 Colin Walters - 2021.1-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2021.1 + +* Fri Dec 11 19:13:03 UTC 2020 Colin Walters - 2020.10-3 +- https://github.com/coreos/rpm-ostree/releases/tag/v2020.10 + +* Fri Dec 11 13:42:33 UTC 2020 Colin Walters - 2020.9-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2020.9 + +* Sat Nov 14 14:51:20 UTC 2020 Colin Walters - 2020.8-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2020.8 + +* Mon Nov 02 2020 Luca BRUNO - 2020.7-1 +- New upstream version + https://github.com/coreos/rpm-ostree/releases/tag/v2020.7 + +* Mon Nov 02 2020 Jeff Law - 2020.6-2 +- Fix invalid use of volatile caught by gcc-11 + +* Fri Oct 30 16:48:43 UTC 2020 Colin Walters - 2020.6-1 +- https://github.com/coreos/rpm-ostree/releases/tag/v2020.6 + +* Wed Oct 28 2020 Peter Robinson - 2020.5-2 +- sysroot: Fix usage of sd_journal_send on 32 bit (gh#2276) + +* Tue Sep 15 2020 Jonathan Lebon - 2020.5-1 +- New upstream version + https://github.com/coreos/rpm-ostree/releases/tag/v2020.5 + +* Mon Aug 17 2020 Colin Walters - 2020.4.15.g8b0bcd7b-2 +- Update to latest upstream git for + https://bugzilla.redhat.com/show_bug.cgi?id=1865397 + +* Sat Aug 01 2020 Fedora Release Engineering - 2020.4-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Jonathan Lebon - 2020.4-1 +- New upstream version + https://github.com/coreos/rpm-ostree/releases/tag/v2020.4 + +* Wed Jul 29 2020 Fedora Release Engineering - 2020.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 30 2020 Jeff Law - 2020.3-2 +- Disable LTO + +* Fri Jun 19 2020 Jonathan Lebon - 2020.3-1 +- New upstream version + https://github.com/coreos/rpm-ostree/releases/tag/v2020.3 + +* Fri May 15 2020 Jonathan Lebon - 2020.2-3 +- Backport https://github.com/coreos/rpm-ostree/pull/2096 + See https://github.com/coreos/fedora-coreos-tracker/issues/481 + +* Fri May 15 2020 Colin Walters - 2020.2-2 +- https://github.com/coreos/rpm-ostree/releases/tag/v2020.2 + +* Tue Apr 21 2020 Björn Esser - 2020.1.80.g3ec5e287-2 +- Rebuild (json-c) + +* Mon Apr 20 2020 Jonathan Lebon - 2020.1.80.g3ec5e287-1 +- git master snapshot for using strict mode and lockfile-repos in FCOS: + https://github.com/coreos/rpm-ostree/pull/1858 + https://github.com/coreos/rpm-ostree/pull/2058 + https://github.com/coreos/fedora-coreos-tracker/issues/454 + +* Fri Mar 13 2020 Colin Walters - 2020.1.21.ge9011530-2 +- Backport https://github.com/coreos/rpm-ostree/pull/2015 + See https://github.com/coreos/fedora-coreos-tracker/issues/343 + +* Thu Feb 27 2020 Jonathan Lebon - 2020.1.21.ge9011530-1 +- git master snapshot for using base initramfs kargs in RHCOS: + https://github.com/coreos/rpm-ostree/pull/1998 + https://github.com/coreos/rpm-ostree/pull/1997 + https://bugzilla.redhat.com/show_bug.cgi?id=1806588 + +* Wed Feb 05 2020 Jonathan Lebon - 2020.1-1 +- New upstream version + +* Tue Feb 04 2020 Jonathan Lebon - 2019.7.31.g70c38563-1 +- git master snapshot for Silverblue rawhide compose fixes + https://pagure.io/releng/failed-composes/issue/717 + https://pagure.io/releng/failed-composes/issue/929 + https://github.com/rpm-software-management/libdnf/pull/885 + +* Thu Jan 30 2020 Fedora Release Engineering - 2019.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 09 2020 Jonathan Lebon - 2019.7-2 +- Backport patch for Silverblue composes: + https://pagure.io/releng/failed-composes/issue/717 + +* Thu Dec 19 2019 Jonathan Lebon - 2019.7-1 +- New upstream version + +* Sat Dec 14 2019 Jeff Law - 2019.6.24.gfec61ce5-2 +- Fix missing #includes for gcc-10 + +* Thu Oct 31 2019 Jonathan Lebon - 2019.6.27.g3b8a1ec6-1 +- git master snapshot for dracut cpio cap_mknod fix: + https://github.com/coreos/rpm-ostree/pull/1946 + +* Thu Oct 31 2019 Jonathan Lebon - 2019.6.24.gfec61ce5-1 +- git master snapshot for HMAC path fix for FIPS: + https://github.com/coreos/rpm-ostree/pull/1934 + +* Wed Sep 25 2019 Jonathan Lebon - 2019.6-1 +- New upstream version + +* Thu Aug 22 2019 Colin Walters - 2019.5.7.gcac5aa41-3 +- New upstream git snapshot, mainly for backporting the arch-includes conditionals + to aid Fedora CoreOS on s390x. + +* Wed Jul 31 2019 Stephen Gallagher - 2019.5-2 +- Fix libmodulemd dependencies + +* Thu Jul 25 2019 Jonathan Lebon - 2019.5-1 +- New upstream version + +* Fri Jul 19 2019 Jonathan Lebon - 2019.4.39.g8d90d03d-1 +- git master snapshot for --parent and lockfile overrides + https://github.com/projectatomic/rpm-ostree/pull/1871 + https://github.com/projectatomic/rpm-ostree/pull/1867 + +* Fri Jul 12 2019 Colin Walters - 2019.4.28.g44395673-3 +- Update rpmostree-rust.h in sources + +* Fri Jul 12 2019 Colin Walters - 2019.4.28.g44395673-2 +- Update with git snapshot for zstd support + +* Wed Jul 10 2019 Jonathan Lebon - 2019.4.27.gb381e029-1 +- git master snapshot for add-commit-metadata + https://github.com/projectatomic/rpm-ostree/pull/1865/ + +* Fri Jun 14 2019 Jonathan Lebon - 2019.4.15.gbbc9aa9f-1 +- git master snapshot for OSTree layers + https://github.com/projectatomic/rpm-ostree/pull/1830/ + +* Mon Jun 10 22:13:22 CET 2019 Igor Gnatenko - 2019.4.10.gc1cc0827-3 +- Rebuild for RPM 4.15 + +* Mon Jun 10 15:42:05 CET 2019 Igor Gnatenko - 2019.4.10.gc1cc0827-2 +- Rebuild for RPM 4.15 + +* Thu Jun 06 2019 Jonathan Lebon - 2019.4.10.gc1cc0827-1 +- git master snapshot for lockfile + https://github.com/projectatomic/rpm-ostree/pull/1745/ + +* Tue May 28 2019 Dusty Mabe - 2019.4-3 +- Add back in ppc64le and ppc64 + +* Thu May 23 2019 Dusty Mabe - 2019.4-2 +- Backport patch for db diff --format=json + +* Tue May 21 2019 Jonathan Lebon - 2019.4-1 +- New upstream version + +* Mon May 06 2019 Jonathan Lebon - 2019.3.5.g0da9f997-2 +- Add temporary hack to avoid UTF-8 for Bodhi + https://pagure.io/releng/issue/8330 + +* Tue Apr 09 2019 Jonathan Lebon - 2019.3.5.g0da9f997-1 +- git master snapshot to test coreos-continuous tag + +* Wed Mar 27 2019 Jonathan Lebon - 2019.3-1 +- New upstream version + +* Thu Feb 14 2019 Jonathan Lebon - 2019.2-1 +- New upstream version + +* Sat Feb 02 2019 Fedora Release Engineering - 2019.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 22 2019 Jonathan Lebon - 2019.1-1 +- New upstream version + +* Fri Dec 14 2018 Jonathan Lebon - 2018.10-1 +- New upstream version + +* Tue Dec 04 2018 Jonathan Lebon +- Simplify Rust conditionals + +* Fri Nov 02 2018 Jonathan Lebon - 2018.9-3 +- Backport patch for https://pagure.io/dusty/failed-composes/issue/956 + +* Tue Oct 30 2018 Igor Gnatenko - 2018.9-2 +- Rebuild for libsolv 0.7 + +* Sun Oct 28 2018 Jonathan Lebon - 2018.9-1 +- New upstream version + +* Tue Sep 11 2018 Jonathan Lebon - 2018.8-1 +- New upstream version + +* Thu Aug 09 2018 Jonathan Lebon - 2018.7-1 +- New upstream version + +* Wed Aug 01 2018 Jonathan Lebon - 2018.6.42.gda27b94b-1 +- git master snapshot for https://bugzilla.redhat.com/show_bug.cgi?id=1565647 + +* Mon Jul 30 2018 Colin Walters - 2018.6-4 +- Backport patch for https://bugzilla.redhat.com/show_bug.cgi?id=1607223 + from https://github.com/projectatomic/rpm-ostree/pull/1469 +- Also https://github.com/projectatomic/rpm-ostree/pull/1461 + +* Mon Jul 16 2018 Colin Walters - 2018.6-3 +- Make build python3-only compatible for distributions that want that + +* Fri Jun 29 2018 Jonathan Lebon - 2018.6-2 +- Rebuild for yummy Rusty bitsy + +* Fri Jun 29 2018 Jonathan Lebon - 2018.6-1 +- New upstream version + +* Tue May 15 2018 Jonathan Lebon - 2018.5-1 +- New upstream version + +* Mon Mar 26 2018 Jonathan Lebon - 2018.4-1 +- New upstream version + +* Sun Mar 18 2018 Iryna Shcherbina - 2018.3-4 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Wed Mar 07 2018 Jonathan Lebon - 2018.3-3 +- Add BR on gcc-c++ + +* Thu Mar 01 2018 Dusty Mabe - 2018.3-2 +- backport treating FUSE as netfs +- See https://github.com/projectatomic/rpm-ostree/pull/1285 + +* Sun Feb 18 2018 Jonathan Lebon - 2018.3-1 +- New upstream version (minor bugfix release) + +* Fri Feb 16 2018 Jonathan Lebon - 2018.2-1 +- New upstream version + +* Fri Feb 09 2018 Fedora Release Engineering - 2018.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 19 2018 Dusty Mabe - 2018.1-2 +- Revert the ostree:// formatting in the output. +- See https://github.com/projectatomic/rpm-ostree/pull/1136#issuecomment-358122137 + +* Mon Jan 15 2018 Colin Walters - 2018.1-1 +- https://github.com/projectatomic/rpm-ostree/releases/tag/v2018.1 + +* Tue Dec 05 2017 Jonathan Lebon - 2017.11-1 +- New upstream version + +* Wed Nov 22 2017 Colin Walters - 2017.10-3 +- Backport patch for NFS issues +- https://pagure.io/atomic-wg/issue/387 + +* Sun Nov 12 2017 Jonathan Lebon - 2017.10-2 +- Backport fix for --repo handling + https://github.com/projectatomic/rpm-ostree/pull/1101 + +* Thu Nov 02 2017 Colin Walters - 2017.10-1 +- https://github.com/projectatomic/rpm-ostree/releases/tag/v2017.10 + +* Mon Sep 25 2017 Jonathan Lebon - 2017.9-1 +- New upstream version + +* Mon Aug 21 2017 Jonathan Lebon - 2017.8-2 +- Patch to allow metadata_expire=0 + https://github.com/projectatomic/rpm-ostree/issues/930 + +* Fri Aug 18 2017 Jonathan Lebon - 2017.8-1 +- New upstream version + +* Thu Aug 10 2017 Igor Gnatenko - 2017.7-7 +- Rebuilt for RPM soname bump + +* Thu Aug 10 2017 Igor Gnatenko - 2017.7-6 +- Rebuilt for RPM soname bump + +* Thu Aug 03 2017 Fedora Release Engineering - 2017.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2017.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Jul 21 2017 Jonathan Lebon - 2017.7-3 +- Tweak new pkg name to rpm-ostree-libs to be more consistent with the main + package name and ostree's ostree-libs. + +* Fri Jul 21 2017 Colin Walters - 2017.7-2 +- Enable introspection, rename shared lib to librpmostree + Due to an oversight, we were not actually building with introspection. + Fix that. And while we are here, split out a shared library package, + so that e.g. containers can do `from gi.repository import RpmOstree` + without dragging in the systemd service, etc. (RHBZ#1473701) + +* Mon Jul 10 2017 Jonathan Lebon - 2017.7-1 +- New upstream version + +* Sat Jun 24 2017 Colin Walters +- Update to git snapshot to help debug compose failure + +* Wed May 31 2017 Jonathan Lebon - 2017.6-3 +- Make sure we don't auto-provide libdnf (RHBZ#1457089) + +* Fri May 26 2017 Jonathan Lebon - 2017.6-2 +- Bump libostree dep + +* Fri May 26 2017 Jonathan Lebon - 2017.6-1 +- New upstream version + +* Fri Apr 28 2017 Jonathan Lebon - 2017.5-2 +- Bump libostree dep and rebuild in override + +* Fri Apr 28 2017 Jonathan Lebon - 2017.5-1 +- New upstream version + +* Fri Apr 14 2017 Jonathan Lebon - 2017.4-2 +- Backport patch to allow unprivileged `rpm-ostree status` + +* Thu Apr 13 2017 Jonathan Lebon - 2017.4-1 +- New upstream version. + +* Fri Apr 07 2017 Colin Walters - 2017.3-4 +- Backport patch to add API devices for running on CentOS 7 + https://github.com/projectatomic/rpm-ostree/issues/727 + +* Thu Mar 16 2017 Colin Walters - 2017.3-3 +- Add patch to fix f26 altfiles + +* Fri Mar 10 2017 Colin Walters - 2017.3-2 +- Backport patch for running in koji + +* Mon Mar 06 2017 Colin Walters - 2017.3-1 +- New upstream version + Fixes: CVE-2017-2623 + Resolves: #1422157 + +* Fri Mar 03 2017 Colin Walters - 2017.2-5 +- Add patch to bump requires for ostree + +* Mon Feb 27 2017 Colin Walters - 2017.2-4 +- Add requires on ostree + +* Sat Feb 18 2017 Colin Walters - 2017.2-3 +- Add patch for gperf 3.1 compatibility + Resolves: #1424268 + +* Wed Feb 15 2017 Colin Walters - 2017.2-2 +- New upstream version + +* Sat Feb 11 2017 Fedora Release Engineering - 2017.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 27 2017 Colin Walters - 2017.1-3 +- Back out netns usage for now for https://pagure.io/releng/issue/6602 + +* Sun Jan 22 2017 Colin Walters - 2017.1-2 +- New upstream version + +* Mon Dec 12 2016 walters@redhat.com - 2016.13-1 +- New upstream version + +* Sat Nov 26 2016 walters@redhat.com - 2016.12-4 +- Backport patch to fix install-langs + +* Tue Nov 15 2016 walters@redhat.com - 2016.11-2 +- New upstream version + +* Mon Oct 24 2016 walters@verbum.org - 2016.11-1 +- New upstream version + +* Fri Oct 07 2016 walters@redhat.com - 2016.10-1 +- New upstream version + +* Thu Sep 08 2016 walters@redhat.com - 2016.9-1 +- New upstream version + +* Thu Sep 08 2016 walters@redhat.com - 2016.8-1 +- New upstream version + +* Thu Sep 01 2016 walters@redhat.com - 2016.7-4 +- Add requires on fuse https://github.com/projectatomic/rpm-ostree/issues/443 + +* Wed Aug 31 2016 Colin Walters - 2016.7-3 +- Backport patch for running inside mock + +* Sat Aug 13 2016 walters@redhat.com - 2016.6-3 +- New upstream version + +* Sat Aug 13 2016 Colin Walters - 2016.6-2 +- Backport patches from master to fix non-containerized composes + +* Thu Aug 11 2016 walters@redhat.com - 2016.6-1 +- New upstream version + +* Mon Jul 25 2016 Colin Walters - 2016.5-1 +- New upstream version + +* Fri Jul 08 2016 walters@verbum.org - 2016.4-2 +- Require bubblewrap + +* Fri Jul 08 2016 walters@redhat.com - 2016.4-1 +- New upstream version + +* Thu Jul 07 2016 Colin Walters - 2016.3.5.g4219a96-1 +- Backport fixes from https://github.com/projectatomic/rpm-ostree/commits/2016.3-fixes + +* Wed Jun 15 2016 Colin Walters - 2016.3.3.g17fb980-2 +- Backport fixes from https://github.com/projectatomic/rpm-ostree/commits/2016.3-fixes + +* Fri May 20 2016 Colin Walters - 2016.3-2 +- New upstream version + +* Thu Mar 31 2016 Colin Walters - 2016.1-3 +- Backport patch to fix Fedora composes writing data into source file:/// URIs + +* Thu Mar 24 2016 Colin Walters - 2016.1-2 +- New upstream version + +* Tue Feb 23 2016 Colin Walters - 2015.11.43.ga2c052b-2 +- New git snapshot, just getting some new code out there +- We are now bundling a copy of libhif, as otherwise coordinated releases with + PackageKit/dnf would be required, and we are not ready for that yet. + +* Wed Feb 10 2016 Matthew Barnes - 2015.11-3 +- Fix URL: https://github.com/projectatomic/rpm-ostree + +* Thu Feb 04 2016 Fedora Release Engineering - 2015.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 15 2015 Colin Walters - 2015.11-1 +- New upstream version + +* Sat Nov 21 2015 Colin Walters - 2015.10-1 +- New upstream version + +* Mon Nov 09 2015 Colin Walters - 2015.9-4 +- Fix files list for -devel, which should in turn fix Anaconda + builds which pull in rpm-ostree, but should not have devel bits. + +* Sat Oct 31 2015 Colin Walters - 2015.9-3 +- Add patch that should fix bodhis use of --workdir-tmpfs + +* Sat Sep 05 2015 Kalev Lember - 2015.9-2 +- Rebuilt for librpm soname bump + +* Wed Aug 26 2015 Colin Walters - 2015.9-2 +- New upstream version + +* Tue Aug 04 2015 Colin Walters - 2015.8-1 +- New upstream version + +* Mon Jul 27 2015 Colin Walters - 2015.7-5 +- rebuilt + +* Mon Jul 20 2015 Colin Walters - 2015.7-4 +- Rebuild for CentOS update to libhif + +* Tue Jun 16 2015 Colin Walters - 2015.7-3 +- Rebuild to pick up hif_source_set_required() + +* Mon Jun 15 2015 Colin Walters - 2015.7-2 +- New upstream version + +* Tue Jun 09 2015 Colin Walters - 2015.6-2 +- New upstream version + +* Tue May 12 2015 Colin Walters - 2015.5-3 +- Add patch to fix rawhide composes + +* Mon May 11 2015 Colin Walters - 2015.5-2 +- New upstream release + Adds shared library and -devel subpackage + +* Fri Apr 10 2015 Colin Walters - 2015.4-2 +- New upstream release + Port to libhif, drops dependency on yum. + +* Thu Apr 09 2015 Colin Walters - 2015.3-8 +- Cherry pick f21 patch to disable read only /etc with yum which + breaks when run inside docker + +* Wed Apr 08 2015 Colin Walters - 2015.3-7 +- Add patch to use yum-deprecated + Resolves: #1209695 + +* Fri Feb 27 2015 Colin Walters - 2015.3-5 +- Drop /usr/bin/atomic, now provided by the "atomic" package + +* Fri Feb 06 2015 Dennis Gilmore - 2015.3-4 +- add git to BuildRequires + +* Thu Feb 05 2015 Colin Walters - 2015.3-3 +- Adapt to Hawkey 0.5.3 API break + +* Thu Feb 05 2015 Dennis Gilmore - 2015.3-3 +- rebuild for libhawkey soname bump + +* Fri Jan 23 2015 Colin Walters - 2015.3-2 +- New upstream release + +* Thu Jan 08 2015 Colin Walters - 2015.2-1 +- New upstream release + +* Wed Dec 17 2014 Colin Walters - 2014.114-2 +- New upstream release + +* Tue Nov 25 2014 Colin Walters - 2014.113-1 +- New upstream release + +* Mon Nov 24 2014 Colin Walters - 2014.112-1 +- New upstream release + +* Mon Nov 17 2014 Colin Walters - 2014.111-1 +- New upstream release + +* Fri Nov 14 2014 Colin Walters - 2014.110-1 +- New upstream release + +* Fri Oct 24 2014 Colin Walters - 2014.109-1 +- New upstream release + +* Sat Oct 04 2014 Colin Walters - 2014.107-2 +- New upstream release + +* Mon Sep 08 2014 Colin Walters - 2014.106-3 +- New upstream release +- Bump requirement on ostree + +* Mon Aug 18 2014 Fedora Release Engineering - 2014.105-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Aug 08 2014 Colin Walters - 2014.105-2 +- New upstream release + +* Sun Jul 13 2014 Colin Walters +- New upstream release + +* Sat Jun 21 2014 Colin Walters +- New upstream release +- Bump OSTree requirements +- Enable hawkey package diff, we have new enough versions + of libsolv/hawkey +- Enable /usr/bin/atomic symbolic link + +* Tue Jun 10 2014 Colin Walters +- New upstream git snapshot + +* Sun Jun 08 2014 Fedora Release Engineering - 2014.101-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 30 2014 Colin Walters +- New upstream release + +* Fri May 23 2014 Colin Walters +- Previous autobuilder code is split off into rpm-ostree-toolbox + +* Sun Apr 13 2014 Colin Walters +- New upstream release + +* Tue Apr 08 2014 Colin Walters +- Drop requires on yum to allow minimal images without it + +* Mon Mar 31 2014 Colin Walters +- New upstream release + +* Sat Mar 22 2014 Colin Walters - 2014.6.3.g5707fa7-2 +- Bump ostree version requirement + +* Sat Mar 22 2014 Colin Walters - 2014.6.3.g5707fa7-1 +- New git snapshot, add rpm-ostree-sign to file list + +* Sat Mar 22 2014 Colin Walters - 2014.6-1 +- New upstream version + +* Fri Mar 07 2014 Colin Walters - 2014.5-1 +- Initial package + +## END: Generated by rpmautospec