diff --git a/.gitignore b/.gitignore index a5622d9..951d1b7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /rand_pcg-0.2.1.crate /rand_pcg-0.3.0.crate /rand_pcg-0.3.1.crate +/rand_pcg-0.9.0.crate diff --git a/rust-rand_pcg.spec b/rust-rand_pcg.spec index 0c916f3..7e6fc54 100644 --- a/rust-rand_pcg.spec +++ b/rust-rand_pcg.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate rand_pcg Name: rust-rand_pcg -Version: 0.3.1 +Version: 0.9.0 Release: %autorelease Summary: Selected PCG random number generators @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/rand_pcg Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Selected PCG random number generators.} @@ -49,32 +49,32 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+serde-devel +%package -n %{name}+os_rng-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+serde-devel %{_description} +%description -n %{name}+os_rng-devel %{_description} This package contains library source intended for building other packages which -use the "serde" feature of the "%{crate}" crate. +use the "os_rng" feature of the "%{crate}" crate. -%files -n %{name}+serde-devel +%files -n %{name}+os_rng-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+serde1-devel +%package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+serde1-devel %{_description} +%description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which -use the "serde1" feature of the "%{crate}" crate. +use the "serde" feature of the "%{crate}" crate. -%files -n %{name}+serde1-devel +%files -n %{name}+serde-devel %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 b77fedc..b57ff3b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand_pcg-0.3.1.crate) = 6386c23c26fb911c3b20718e31b6a2f395e3cb46b59351cbd58bbc0666f1d42c2092638360162079387e0d61f7591d01271cb50212b91db6df78a76bae239dc4 +SHA512 (rand_pcg-0.9.0.crate) = caf3035089a36329950fa8cdd87f09c0ea7a4dd6bb14cfba8414ce40dc097a7a99cf3e9ef03b29b7da0f66572209d0ed00729b0cd59f4a1a51be0d1c58612346