## START: Set by rpmautospec ## (rpmautospec version 0.7.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 # Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate reflink-copy Name: rust-reflink-copy Version: 0.1.23 Release: %autorelease Summary: Copy-on-write mechanism on supported file systems # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/reflink-copy Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: reflink-copy-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Copy-on-write mechanism on supported file systems.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %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}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-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 * Sun Jan 19 2025 Benjamin A. Beasley - 0.1.23-1 - Update to 0.1.23 (close RHBZ#2338785) * Sun Jan 12 2025 Benjamin A. Beasley - 0.1.22-1 - Update to 0.1.22 (close RHBZ#2337195) * Thu Jan 09 2025 Benjamin A. Beasley - 0.1.21-1 - Update to 0.1.21 (close RHBZ#2336484) * Sun Nov 10 2024 Benjamin A. Beasley - 0.1.20-1 - Update to 0.1.20 (close RHBZ#2324960) * Sat Jul 20 2024 Fedora Release Engineering - 0.1.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jul 05 2024 Benjamin A. Beasley - 0.1.19-1 - Update to 0.1.19 (close RHBZ#2295852) * Wed Jun 12 2024 Benjamin A. Beasley - 0.1.18-1 - Update to 0.1.18 (close RHBZ#2291292) * Sun Apr 21 2024 Benjamin A. Beasley - 0.1.17-1 - Update to 0.1.17 (RHBZ#2276283) - We no longer require a downstream patch. * Sat Apr 20 2024 Benjamin A. Beasley - 0.1.16-1 - Initial package (close RHBZ#2276079) ## END: Generated by rpmautospec