diff --git a/.gitignore b/.gitignore index 6c1e99a..fa69823 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,7 @@ /lock_api-0.4.3.crate /lock_api-0.4.4.crate /lock_api-0.4.5.crate +/lock_api-0.4.6.crate +/lock_api-0.4.7.crate +/lock_api-0.4.8.crate +/lock_api-0.4.9.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..0dcfc8c 100644 --- a/rust-lock_api.spec +++ b/rust-lock_api.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate lock_api -Name: rust-%{crate} -Version: 0.4.5 +Name: rust-lock_api +Version: 0.4.9 Release: %autorelease Summary: Wrappers to create fully-featured Mutex and RwLock types -# Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: MIT OR Apache-2.0 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 +29,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 +43,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 +55,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 +79,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 +91,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..77a5ca6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lock_api-0.4.5.crate) = d6cd948a4183a73e8b91b9167d551e72dd75820c76123fb0839f8389c7872d2c46dbcf5785d7600ecc4e27f3d214f476585b9c39e85f70500eb8d012e5ff9535 +SHA512 (lock_api-0.4.9.crate) = 9215381d9bb6b80d217c73a900db43df043b3e939b5bd7a292a02e9ab911cf0eacd8f883d35bdf72b3a0e78df8f1bc3e843ca4c775294c7a7a03091dc1a74990