diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..c36d600 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,8 @@ +[DEFAULT] +unwanted-features = + reopen + reopen-03 + syslog3 + syslog4 + syslog-3 + syslog-4 diff --git a/rust-fern.spec b/rust-fern.spec index b656dd2..8819861 100644 --- a/rust-fern.spec +++ b/rust-fern.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.6.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple, efficient logging # Upstream license specification: MIT @@ -112,78 +112,6 @@ which use "meta-logging-in-format" feature of "%{crate}" crate. %files -n %{name}+meta-logging-in-format-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+reopen-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+reopen-devel %{_description} - -This package contains library source intended for building other packages -which use "reopen" feature of "%{crate}" crate. - -%files -n %{name}+reopen-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+reopen-03-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+reopen-03-devel %{_description} - -This package contains library source intended for building other packages -which use "reopen-03" feature of "%{crate}" crate. - -%files -n %{name}+reopen-03-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+syslog-3-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+syslog-3-devel %{_description} - -This package contains library source intended for building other packages -which use "syslog-3" feature of "%{crate}" crate. - -%files -n %{name}+syslog-3-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+syslog-4-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+syslog-4-devel %{_description} - -This package contains library source intended for building other packages -which use "syslog-4" feature of "%{crate}" crate. - -%files -n %{name}+syslog-4-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+syslog3-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+syslog3-devel %{_description} - -This package contains library source intended for building other packages -which use "syslog3" feature of "%{crate}" crate. - -%files -n %{name}+syslog3-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+syslog4-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+syslog4-devel %{_description} - -This package contains library source intended for building other packages -which use "syslog4" feature of "%{crate}" crate. - -%files -n %{name}+syslog4-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -203,6 +131,9 @@ which use "syslog4" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 28 2020 Fabio Valentini - 0.6.0-3 +- Remove features with missing dependencies (reopen, syslog). + * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild