diff --git a/.gitignore b/.gitignore index 98605de..f1f54e2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /portable-atomic-1.4.1.crate /portable-atomic-1.4.2.crate /portable-atomic-1.4.3.crate +/portable-atomic-1.5.0.crate diff --git a/rust-portable-atomic.spec b/rust-portable-atomic.spec index d8ff62a..886981c 100644 --- a/rust-portable-atomic.spec +++ b/rust-portable-atomic.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate portable-atomic Name: rust-portable-atomic -Version: 1.4.3 +Version: 1.5.0 Release: %autorelease Summary: Portable atomic types including support for 128-bit atomics, atomic float, etc @@ -14,7 +14,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/portable-atomic Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Portable atomic types including support for 128-bit atomics, atomic @@ -98,6 +98,18 @@ use the "float" feature of the "%{crate}" crate. %files -n %{name}+float-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+force-amo-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+force-amo-devel %{_description} + +This package contains library source intended for building other packages which +use the "force-amo" feature of the "%{crate}" crate. + +%files -n %{name}+force-amo-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+require-cas-devel Summary: %{summary} BuildArch: noarch @@ -159,7 +171,7 @@ use the "unsafe-assume-single-core" 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/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..553347c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/sources b/sources index 78cc064..2c49130 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (portable-atomic-1.4.3.crate) = 89f14902c1e55c37d7663bc9255378441a0951e5d8e21665a8102e06b766135cec6d982f9ed01b4167e872a7853102ad0e9347e9b163ea81d81b00ee2362e9a0 +SHA512 (portable-atomic-1.5.0.crate) = 4b338b7bdd26d1a4bd5ae441f4ba5e88926d61b0616f103577029865cf6f25b8d7585aa3b1ad88240ce64d162d876c2443426fb8eb257a9bd458536b7e6a982e