From 9fb01c5e64cd42e963b3abd45c03e8dfc69ad270 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 28 Nov 2021 18:05:47 +0100 Subject: [PATCH] Regenerate Signed-off-by: Igor Raits --- .rust2rpm.conf | 4 ++++ rust-libm.spec | 48 ++++++++++++------------------------------------ 2 files changed, 16 insertions(+), 36 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..12d2e73 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + musl-reference-tests + rand diff --git a/rust-libm.spec b/rust-libm.spec index 51fb9d1..a2e8efc 100644 --- a/rust-libm.spec +++ b/rust-libm.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 19 # no-panic fails: https://github.com/rust-lang/libm/issues/234 %bcond_with check %global debug_package %{nil} @@ -36,13 +36,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 "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md CONTRIBUTING.md -%{cargo_registry}/%{crate}-%{version}/ +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md CONTRIBUTING.md README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,35 +50,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}/Cargo.toml - -%package -n %{name}+musl-reference-tests-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+musl-reference-tests-devel %{_description} - -This package contains library source intended for building other packages -which use "musl-reference-tests" feature of "%{crate}" crate. - -%files -n %{name}+musl-reference-tests-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml - -%package -n %{name}+rand-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rand-devel %{_description} - -This package contains library source intended for building other packages -which use "rand" feature of "%{crate}" crate. - -%files -n %{name}+rand-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} @@ -86,11 +62,11 @@ BuildArch: noarch %description -n %{name}+unstable-devel %{_description} -This package contains library source intended for building other packages -which use "unstable" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use "the unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1