diff --git a/.gitignore b/.gitignore index 6c1e99a..a6b909e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /lock_api-0.4.3.crate /lock_api-0.4.4.crate /lock_api-0.4.5.crate +/lock_api-0.4.6.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index 1715b93..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - nightly diff --git a/rust-lock_api.spec b/rust-lock_api.spec index 29770d3..657f089 100644 --- a/rust-lock_api.spec +++ b/rust-lock_api.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate lock_api Name: rust-%{crate} -Version: 0.4.5 +Version: 0.4.6 Release: %autorelease Summary: Wrappers to create fully-featured Mutex and RwLock types @@ -15,11 +15,8 @@ URL: https://crates.io/crates/lock_api Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Wrappers to create fully-featured Mutex and RwLock types. Compatible with @@ -33,12 +30,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+arc_lock-devel Summary: %{summary} @@ -58,11 +56,23 @@ BuildArch: noarch %description -n %{name}+arc_lock-devel %{_description} -This package contains library source intended for building other packages -which use "arc_lock" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "arc_lock" feature of the "%{crate}" crate. %files -n %{name}+arc_lock-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages which +use the "nightly" feature of the "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+owning_ref-devel Summary: %{summary} @@ -70,11 +80,11 @@ BuildArch: noarch %description -n %{name}+owning_ref-devel %{_description} -This package contains library source intended for building other packages -which use "owning_ref" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "owning_ref" feature of the "%{crate}" crate. %files -n %{name}+owning_ref-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -82,11 +92,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 93263cb..abc1c9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lock_api-0.4.5.crate) = d6cd948a4183a73e8b91b9167d551e72dd75820c76123fb0839f8389c7872d2c46dbcf5785d7600ecc4e27f3d214f476585b9c39e85f70500eb8d012e5ff9535 +SHA512 (lock_api-0.4.6.crate) = ba14d341564eba91bb5ec58bb2e0d6c87e70b3694c4609396f0c0f4afc0c6c105a88cb99c303b1e9761b0fc6cae56f79ba6a7663b063454ab1ede4d49274906d