## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 # Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate buffered-reader Name: rust-buffered-reader Version: 1.4.0 Release: %autorelease Summary: Super-powered Reader License: LGPL-2.0-or-later URL: https://crates.io/crates/buffered-reader Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Allow bzip2 0.6: # https://gitlab.com/sequoia-pgp/sequoia/-/merge_requests/1806 Patch: buffered-reader-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A super-powered Reader.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE.txt %doc %{crate_instdir}/NEWS %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bzip2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bzip2-devel %{_description} This package contains library source intended for building other packages which use the "bzip2" feature of the "%{crate}" crate. %files -n %{name}+bzip2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compression-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compression-devel %{_description} This package contains library source intended for building other packages which use the "compression" feature of the "%{crate}" crate. %files -n %{name}+compression-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compression-bzip2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compression-bzip2-devel %{_description} This package contains library source intended for building other packages which use the "compression-bzip2" feature of the "%{crate}" crate. %files -n %{name}+compression-bzip2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compression-deflate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compression-deflate-devel %{_description} This package contains library source intended for building other packages which use the "compression-deflate" feature of the "%{crate}" crate. %files -n %{name}+compression-deflate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+flate2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+flate2-devel %{_description} This package contains library source intended for building other packages which use the "flate2" feature of the "%{crate}" crate. %files -n %{name}+flate2-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Dec 16 2025 Benjamin A. Beasley - 1.4.0-3 - Allow bzip2 0.6 * Fri Jul 25 2025 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Mar 03 2025 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0; Fixes RHBZ#2348423 * Sun Jan 19 2025 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Dec 14 2024 Fabio Valentini - 1.3.2-1 - Update to version 1.3.2; Fixes RHBZ#2332289 * Fri Jul 19 2024 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Apr 16 2024 Fabio Valentini - 1.3.1-1 - Update to version 1.3.1 * Fri Jan 26 2024 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Nov 02 2023 Fabio Valentini - 1.3.0-1 - Update to version 1.3.0; Fixes RHBZ#2246420 * Fri Jul 21 2023 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed May 17 2023 Fabio Valentini - 1.2.0-1 - Update to version 1.2.0; Fixes RHBZ#2207951 * Sun Jan 29 2023 Fabio Valentini - 1.1.4-1 - Update to version 1.1.4; Fixes RHBZ#2158929 * Fri Jan 20 2023 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 08 2022 Fabio Valentini - 1.1.3-1 - Update to version 1.1.3; Fixes RHBZ#2103939 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jan 07 2022 Fabio Valentini - 1.1.2-1 - Update to version 1.1.2; Fixes RHBZ#2035259 * Wed Nov 17 2021 Fabio Valentini - 1.1.1-1 - Update to version 1.1.1; Fixes RHBZ#2023857 * Sat Nov 06 2021 Fabio Valentini - 1.1.0-1 - Update to version 1.1.0; Fixes RHBZ#2015143 * Fri Jul 23 2021 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 08 2021 Fabio Valentini - 1.0.1-1 - Initial package ## END: Generated by rpmautospec