diff --git a/.gitignore b/.gitignore index 7f2121e..c96a8a0 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /arc-swap-1.5.0.crate /arc-swap-1.5.1.crate /arc-swap-1.6.0.crate +/arc-swap-1.7.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 8ab1f52..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-arc-swap - -The rust-arc-swap package \ No newline at end of file diff --git a/rust-arc-swap.spec b/rust-arc-swap.spec index b9329f9..31e7aa1 100644 --- a/rust-arc-swap.spec +++ b/rust-arc-swap.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 26 # * missing dev-dependency: adaptive-barrier %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate arc-swap Name: rust-arc-swap -Version: 1.6.0 +Version: 1.7.0 Release: %autorelease Summary: Atomically swappable Arc @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/arc-swap Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Atomically swappable Arc.} @@ -62,6 +62,18 @@ use the "experimental-strategies" feature of the "%{crate}" crate. %files -n %{name}+experimental-strategies-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+experimental-thread-local-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+experimental-thread-local-devel %{_description} + +This package contains library source intended for building other packages which +use the "experimental-thread-local" feature of the "%{crate}" crate. + +%files -n %{name}+experimental-thread-local-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+internal-test-strategies-devel Summary: %{summary} BuildArch: noarch @@ -99,7 +111,7 @@ use the "weak" 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..2a0b482 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependency: adaptive-barrier"] + diff --git a/sources b/sources index 95ccb97..8ce1d68 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arc-swap-1.6.0.crate) = 5e09cef9fa12d1204db24f3397158a3f45d12dd0fa61eadd691bba120a43fdaa916ab09997e7a63d61a3fb7dada4e3266181f4ef413850c4bc5e59d2c6c5b9df +SHA512 (arc-swap-1.7.0.crate) = f4fa33638a1d94e32f7a288f4e54544222bca8180247047bece1e5ba999a72509e140f7cf58e2757756af001ea94c193d66bf3bcfbbf6013d24b097156a4c99c