diff --git a/.gitignore b/.gitignore index 861d0b1..4fadf33 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /critical-section-1.1.1.crate /critical-section-1.1.2.crate +/critical-section-1.1.3.crate diff --git a/rust-critical-section.spec b/rust-critical-section.spec index 0be1772..42b2dd6 100644 --- a/rust-critical-section.spec +++ b/rust-critical-section.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate critical-section Name: rust-critical-section -Version: 1.1.2 +Version: 1.1.3 Release: %autorelease Summary: Cross-platform critical section @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/critical-section Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cross-platform critical section.} @@ -121,6 +121,18 @@ use the "restore-state-u8" feature of the "%{crate}" crate. %files -n %{name}+restore-state-u8-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+restore-state-usize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+restore-state-usize-devel %{_description} + +This package contains library source intended for building other packages which +use the "restore-state-usize" feature of the "%{crate}" crate. + +%files -n %{name}+restore-state-usize-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -134,7 +146,7 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 8943bfa..3b31f39 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (critical-section-1.1.2.crate) = 739175c5c18d1d6bcb6592a1a522dc2883dac7261a38eb54f06e0ebe82ecfd26567cf817f39eae9d8911b900c1968d0b21c13d514f4894d5695885b20adc8f54 +SHA512 (critical-section-1.1.3.crate) = 5ec74f791b7beb1f92ce41f9eda47c6ffacd3724a3bce8c39257091a0d1b44c72b4cbbca05149dba6c57f42c476907c16874bc84960d0f24a09cb287fe20e85e