## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 %global crate chunkah Name: chunkah Version: 0.4.0 Release: %autorelease Summary: OCI building tool for content-based container image layers # (MIT OR Apache-2.0) AND Unicode-3.0 # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # LGPL-2.1-or-later # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR LGPL-2.1-or-later # MIT OR Zlib OR Apache-2.0 # Unlicense OR MIT # Zlib # Zlib OR Apache-2.0 OR MIT License: Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND LGPL-2.1-or-later AND MIT AND Zlib AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) URL: https://github.com/coreos/chunkah Source0: %{url}/releases/download/v%{version}/%{crate}-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: openssl-devel BuildRequires: zlib-devel %description chunkah is an OCI building tool that takes a flat rootfs and outputs a layered OCI image with content-based layers. It optimizes container image layer reuse by grouping files based on their content (e.g., by RPM package) rather than by Dockerfile instruction order. It is a generalized successor to rpm-ostree's build-chunked-oci command. %prep %autosetup -n %{crate}-%{version} -p1 tar xf %{SOURCE1} %cargo_prep -v vendor %build %cargo_build %cargo_vendor_manifest %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %check %cargo_test %files %license LICENSE-MIT LICENSE-APACHE %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/chunkah %changelog ## START: Generated by rpmautospec * Thu Apr 23 2026 Jonathan Lebon - 0.4.0-2 - rpminspect: skip branch-protection annocheck test * Thu Apr 23 2026 Packit - 0.4.0-1 - Update to 0.4.0 upstream release * Mon Mar 23 2026 Packit - 0.3.2-1 - Update to 0.3.2 upstream release * Fri Mar 20 2026 Packit - 0.3.1-1 - Update to 0.3.1 upstream release * Wed Mar 11 2026 Jonathan Lebon - 0.3.0-2 - tree: drop obsolete patches * Wed Mar 11 2026 Packit - 0.3.0-1 - Update to 0.3.0 upstream release * Thu Feb 19 2026 Jonathan Lebon - 0.2.0-3 - Backport "scan: sort xattrs for reproducibility" * Tue Feb 17 2026 Packit - 0.2.0-1 - Update to version 0.2.0 * Fri Jan 30 2026 Jonathan Lebon - 0.1.1-1 - Update to 0.1.1 - Enable tests (vendor tarball now includes dev-dependencies) * Wed Jan 28 2026 Jonathan Lebon - 0.1.0-1 - Initial package ## END: Generated by rpmautospec