diff --git a/README.md b/README.md deleted file mode 100644 index 15fe312..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-sha1 - -The rust-sha1 package \ No newline at end of file diff --git a/rust-sha1.spec b/rust-sha1.spec index f7f2e4f..c7b8939 100644 --- a/rust-sha1.spec +++ b/rust-sha1.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} @@ -13,8 +13,6 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/sha1 Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -50,6 +48,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "asm" feature of the "%{crate}" crate. + +%files -n %{name}+asm-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+compress-devel Summary: %{summary} BuildArch: noarch @@ -86,6 +96,18 @@ use the "oid" feature of the "%{crate}" crate. %files -n %{name}+oid-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+sha1-asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sha1-asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "sha1-asm" feature of the "%{crate}" crate. + +%files -n %{name}+sha1-asm-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 5f210cf..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -unwanted-features = - asm - sha1-asm