diff --git a/.gitignore b/.gitignore index a2bc2b5..f0fe715 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /fern-0.5.9.crate /fern-0.6.0.crate +/fern-0.6.1.crate diff --git a/rust-fern.spec b/rust-fern.spec index ed40434..e7a899c 100644 --- a/rust-fern.spec +++ b/rust-fern.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate fern -Name: rust-%{crate} -Version: 0.6.0 +Name: rust-fern +Version: 0.6.1 Release: %autorelease Summary: Simple, efficient logging -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/fern Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Simple, efficient logging.} @@ -32,13 +28,15 @@ 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 -%doc CHANGELOG.md CONTRIBUTING.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,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}+chrono-devel Summary: %{summary} @@ -58,11 +56,11 @@ BuildArch: noarch %description -n %{name}+chrono-devel %{_description} -This package contains library source intended for building other packages -which use "chrono" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+colored-devel Summary: %{summary} @@ -70,11 +68,11 @@ BuildArch: noarch %description -n %{name}+colored-devel %{_description} -This package contains library source intended for building other packages -which use "colored" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "colored" feature of the "%{crate}" crate. %files -n %{name}+colored-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+date-based-devel Summary: %{summary} @@ -82,11 +80,11 @@ BuildArch: noarch %description -n %{name}+date-based-devel %{_description} -This package contains library source intended for building other packages -which use "date-based" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "date-based" feature of the "%{crate}" crate. %files -n %{name}+date-based-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} @@ -94,11 +92,11 @@ BuildArch: noarch %description -n %{name}+libc-devel %{_description} -This package contains library source intended for building other packages -which use "libc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+meta-logging-in-format-devel Summary: %{summary} @@ -106,11 +104,11 @@ BuildArch: noarch %description -n %{name}+meta-logging-in-format-devel %{_description} -This package contains library source intended for building other packages -which use "meta-logging-in-format" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "meta-logging-in-format" feature of the "%{crate}" crate. %files -n %{name}+meta-logging-in-format-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/.rust2rpm.conf b/rust2rpm.conf similarity index 61% rename from .rust2rpm.conf rename to rust2rpm.conf index c36d600..741a946 100644 --- a/.rust2rpm.conf +++ b/rust2rpm.conf @@ -1,8 +1,12 @@ [DEFAULT] unwanted-features = - reopen + reopen03 + reopen1 reopen-03 + reopen-1 syslog3 syslog4 + syslog6 syslog-3 syslog-4 + syslog-6 diff --git a/sources b/sources index 2e7328d..78d534e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fern-0.6.0.crate) = d0524c272cba970b5193d845d4e84698d64bc28c75b38dd2f265f1a132e1c9ea177ebdc38741614f6a6f3d106c7c50565b8562378a50d59ed093e00aee8ca382 +SHA512 (fern-0.6.1.crate) = f33d3e03c8f4248b046bc84c83d0de9be77b895e79ebc1ab943c50d7ebae021477749376daa14763709aaafa69d414a8ea774bb009a10737d1de57c7cb6d7fbc