## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 devicemapper Name: rust-devicemapper Version: 0.34.5 Release: %autorelease Summary: Library for using Linux device mapper License: MPL-2.0 URL: https://crates.io/crates/devicemapper Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Allow procfs 0.18: # https://github.com/stratis-storage/devicemapper-rs/pull/1018 Patch: devicemapper-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A library for using Linux device mapper.} %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.md %doc %{crate_instdir}/CHANGES.txt %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}+disable_cargo_metadata-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+disable_cargo_metadata-devel %{_description} This package contains library source intended for building other packages which use the "disable_cargo_metadata" feature of the "%{crate}" crate. %files -n %{name}+disable_cargo_metadata-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 # * Skipped tests require extensive infrastructure %{cargo_test -- -- %{shrink: --skip sudo_ --skip loop_ --skip udevsync_ }} %endif %changelog ## START: Generated by rpmautospec * Sat Jan 03 2026 Benjamin A. Beasley - 0.34.5-3 - Allow procfs 0.18 * Fri Jul 25 2025 Fedora Release Engineering - 0.34.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jul 22 2025 Chung Chung - 0.34.5-1 - Update to version 0.34.5 * Mon May 05 2025 mulhern - 0.34.4-4 - Make updates fully automatic * Sun Jan 19 2025 Fedora Release Engineering - 0.34.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Aug 21 2024 Bryan Gurney - 0.34.4-1 - Update to version 0.34.4 * Tue Jul 23 2024 Bryan Gurney - 0.34.3-1 - Update to version 0.34.3 * Fri Jul 19 2024 Fedora Release Engineering - 0.34.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Mar 25 2024 Bryan Gurney - 0.34.2-1 - Update to version 0.34.2 * Fri Jan 26 2024 Fedora Release Engineering - 0.34.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jan 16 2024 Bryan Gurney - 0.34.1-1 - Update to version 0.34.1 * Tue Oct 24 2023 Bryan Gurney - 0.34.0-1 - Update to version 0.34.0 * Fri Jul 21 2023 Fedora Release Engineering - 0.33.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 21 2023 Bryan Gurney - 0.33.5-1 - Update to version 0.33.5 * Mon Apr 17 2023 Bryan Gurney - 0.33.4-1 - Update to version 0.33.4 * Fri Mar 17 2023 Bryan Gurney - 0.33.2-1 - Update to version 0.33.2 * Fri Jan 20 2023 Fedora Release Engineering - 0.32.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 22 2022 Bryan Gurney - 0.32.3-1 - Update to version 0.32.3 * Thu Aug 25 2022 mulhern - 0.32.2-1 - Update to version 0.32.2 * Sat Jul 23 2022 Fedora Release Engineering - 0.32.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 21 2022 mulhern - 0.32.1-1 - Update to version 0.32.1 * Mon Feb 7 2022 mulhern - 0.32.0-1 - Update to version 0.32.0 * Fri Jan 21 2022 Fedora Release Engineering - 0.30.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jan 13 2022 mulhern - 0.31.1-1 - Update to version 0.31.1 * Tue Dec 21 2021 mulhern - 0.30.0-2 Bump release number to get new NVR * Mon Dec 20 2021 mulhern - 0.30.0-1 - Update to version 0.30.0 * Wed Nov 24 2021 Fabio Valentini - 0.29.4-1 - Update to version 0.29.4. * Wed Nov 17 2021 mulhern - 0.29.3-2 - Bump revision number after reverting 0.30.0 update * Tue Jul 27 2021 mulhern - 0.29.3 - Update to 0.29.3 * Fri Jul 23 2021 Fedora Release Engineering - 0.29.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 13 2021 mulhern - 0.29.2-1 Update to 0.29.2 * Tue Apr 27 2021 mulhern - 0.29.1-1 Update to 0.29.1 * Wed Jan 27 2021 Fedora Release Engineering - 0.28.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Oct 27 2020 mulhern - 0.28.1-1 Update to 0.28.1 * Sat Aug 01 2020 Fedora Release Engineering - 0.28.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.28.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.28.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Sep 06 20:56:07 CEST 2019 Igor Gnatenko - 0.28.0-1 - Update to 0.28.0 * Fri Jul 26 2019 Fedora Release Engineering - 0.27.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 04 2019 Josh Stone - 0.27.0-2 - Bump nix to 0.14 * Tue May 07 08:10:48 CEST 2019 Igor Gnatenko - 0.27.0-1 - Update to 0.27.0 * Tue Feb 12 2019 Igor Gnatenko - 0.26.1-3 - Update nix to 0.13 * Sat Feb 02 2019 Fedora Release Engineering - 0.26.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Nov 29 2018 Josh Stone - 0.26.1-1 - Update to 0.26.1 * Tue Nov 20 2018 Igor Gnatenko - 0.26.0-3 - Bump uuid to 0.7 * Fri Nov 02 2018 Igor Gnatenko - 0.26.0-2 - Adapt to new packaging * Thu Sep 27 2018 Andy Grover - 0.26.0-1 - Update to 0.26.0 * Sat Sep 01 2018 Igor Gnatenko - 0.24.0-1 - Update to 0.24.0 * Sat Aug 04 2018 Josh Stone - 0.23.1-1 - Update to 0.23.1 * Thu Aug 2 2018 Andy Grover - 0.23.0-1 - Update to 0.23.0 * Tue Jul 17 2018 Igor Gnatenko - 0.22.0-3 - Bump error-chain to 0.12 - Bump nix to 0.11 * Sat Jul 14 2018 Fedora Release Engineering - 0.22.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Igor Gnatenko - 0.22.0-1 - Update to 0.22.0 * Sat Jun 23 2018 Igor Gnatenko - 0.21.0-2 - Adopt to new macro * Mon Jun 4 2018 Andy Grover - 0.21.0-1 - Remove no longer needed patch - add builddep on mnt * Thu Apr 26 2018 Igor Gnatenko - 0.20.0-2 - Bump uuid to 0.6 * Tue Apr 03 2018 Igor Gnatenko - 0.20.0-1 - Update to 0.20.0 * Thu Mar 08 2018 Igor Gnatenko - 0.19.0-1 - Update to 0.19.0 * Sun Feb 11 2018 Igor Gnatenko - 0.16.0-1 - Update to 0.16.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.15.0-2 - Rebuild for rust-packaging v5 * Wed Jan 03 2018 Igor Gnatenko - 0.15.0-1 - Initial package ## END: Generated by rpmautospec