diff --git a/.gitignore b/.gitignore index 89c9715..3e80de6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ /vergen-5.1.14.crate /vergen-5.1.15.crate /vergen-5.1.17.crate -/vergen-5.2.0.crate diff --git a/rust-vergen.spec b/rust-vergen.spec index cc5dfbc..c5d6917 100644 --- a/rust-vergen.spec +++ b/rust-vergen.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 18 # * test files and git repository data are not shipped with published crates %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate vergen Name: rust-%{crate} -Version: 5.2.0 +Version: 5.1.17 Release: %autorelease Summary: Generate cargo:rustc-env instructions for use with env! @@ -19,6 +19,9 @@ Source: %{crates_source} Patch0: vergen-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging @@ -34,12 +37,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages which -use the "%{crate}" crate. +This package contains library source intended for building other packages +which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT -%doc CONTRIBUTING.md README.md +%doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -48,8 +51,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages which -use the "default" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -60,8 +63,8 @@ BuildArch: noarch %description -n %{name}+build-devel %{_description} -This package contains library source intended for building other packages which -use the "build" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "build" feature of "%{crate}" crate. %files -n %{name}+build-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -72,8 +75,8 @@ BuildArch: noarch %description -n %{name}+cargo-devel %{_description} -This package contains library source intended for building other packages which -use the "cargo" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "cargo" feature of "%{crate}" crate. %files -n %{name}+cargo-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -84,8 +87,8 @@ BuildArch: noarch %description -n %{name}+chrono-devel %{_description} -This package contains library source intended for building other packages which -use the "chrono" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "chrono" feature of "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -96,8 +99,8 @@ BuildArch: noarch %description -n %{name}+git-devel %{_description} -This package contains library source intended for building other packages which -use the "git" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "git" feature of "%{crate}" crate. %files -n %{name}+git-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -108,8 +111,8 @@ BuildArch: noarch %description -n %{name}+git2-devel %{_description} -This package contains library source intended for building other packages which -use the "git2" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "git2" feature of "%{crate}" crate. %files -n %{name}+git2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -120,8 +123,8 @@ BuildArch: noarch %description -n %{name}+rustc-devel %{_description} -This package contains library source intended for building other packages which -use the "rustc" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "rustc" feature of "%{crate}" crate. %files -n %{name}+rustc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -132,8 +135,8 @@ BuildArch: noarch %description -n %{name}+rustc_version-devel %{_description} -This package contains library source intended for building other packages which -use the "rustc_version" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "rustc_version" feature of "%{crate}" crate. %files -n %{name}+rustc_version-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -144,8 +147,8 @@ BuildArch: noarch %description -n %{name}+si-devel %{_description} -This package contains library source intended for building other packages which -use the "si" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "si" feature of "%{crate}" crate. %files -n %{name}+si-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -156,8 +159,8 @@ BuildArch: noarch %description -n %{name}+sysinfo-devel %{_description} -This package contains library source intended for building other packages which -use the "sysinfo" feature of the "%{crate}" crate. +This package contains library source intended for building other packages +which use "sysinfo" feature of "%{crate}" crate. %files -n %{name}+sysinfo-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 06a28f1..f619eac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vergen-5.2.0.crate) = 17ad03a22e50ba69a50d46d0a85f8d7b4870f415b742e61de6ddf450f6785b12a04839770c74f39fe097d1ab714d4abeb26bdfe0d0faf1b7072326e82c2a92b0 +SHA512 (vergen-5.1.17.crate) = 212fcf0c29fecd85bb5e27ce3c954e5494581d3758c33b8f0533784f641a472cfb755121bc616b5e0d0ca61a5fcf6610e97fb6ab6081b8780043fcd0d547d156 diff --git a/vergen-fix-metadata.diff b/vergen-fix-metadata.diff index 783b261..9356a0b 100644 --- a/vergen-fix-metadata.diff +++ b/vergen-fix-metadata.diff @@ -1,5 +1,5 @@ ---- vergen-5.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ vergen-5.2.0/Cargo.toml 2021-12-09T13:28:49.590636+00:00 +--- vergen-5.1.17/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ vergen-5.1.17/Cargo.toml 2021-11-04T21:29:09.220205+00:00 @@ -51,7 +51,7 @@ optional = true