diff --git a/.gitignore b/.gitignore index 146937d..5e9c1e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /enumset-1.0.6.crate +/enumset-1.1.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 1a4ebf8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-enumset - -The rust-enumset package diff --git a/rust-enumset.spec b/rust-enumset.spec index 7edb1df..41249a8 100644 --- a/rust-enumset.spec +++ b/rust-enumset.spec @@ -1,28 +1,23 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate enumset -Name: rust-%{crate} -Version: 1.0.6 +Name: rust-enumset +Version: 1.1.2 Release: %autorelease Summary: Library for creating compact sets of enums # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/enumset Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Library for creating compact sets of enums.} +A library for creating compact sets of enums.} %description %{_description} @@ -32,13 +27,14 @@ 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 -%doc README.md -%license LICENSE-APACHE LICENSE-MIT -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +42,23 @@ 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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -58,11 +66,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 %package -n %{name}+serde2-devel Summary: %{summary} @@ -70,11 +78,23 @@ BuildArch: noarch %description -n %{name}+serde2-devel %{_description} -This package contains library source intended for building other packages -which use "serde2" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde2" feature of the "%{crate}" crate. %files -n %{name}+serde2-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 729838c..3aa226d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (enumset-1.0.6.crate) = ec8e47ee58fa3b329d72e8c31df3d4d2f3fcc7b4b80493f6eaaadc3916d0fbb8e98e5598f09637c08a0b4dc7d8d8df40bbccf3ef9b5b1fcd6266939a3eeb5b69 +SHA512 (enumset-1.1.2.crate) = dbd62f154f99b1b263aaef3f971ba4db242c8e97b933c43642995b1ffc5936e7f6f7f1ea0852b87801bc0f8cfec599afc5764260e60f43a43490bc5aaf80ab18