From c56a67d90f0153c36eb00da7f0f0dd7367ebb993 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Dec 2021 14:31:08 +0100 Subject: [PATCH] Update to version 5.2.0; Fixes RHBZ#2026993 --- .gitignore | 1 + rust-vergen.spec | 53 +++++++++++++++++++--------------------- sources | 2 +- vergen-fix-metadata.diff | 4 +-- 4 files changed, 29 insertions(+), 31 deletions(-) diff --git a/.gitignore b/.gitignore index 3e80de6..89c9715 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /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 c5d6917..cc5dfbc 100644 --- a/rust-vergen.spec +++ b/rust-vergen.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 # * 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.1.17 +Version: 5.2.0 Release: %autorelease Summary: Generate cargo:rustc-env instructions for use with env! @@ -19,9 +19,6 @@ Source: %{crates_source} Patch0: vergen-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -37,12 +34,12 @@ 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-APACHE LICENSE-MIT -%doc README.md +%doc CONTRIBUTING.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -51,8 +48,8 @@ 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 @@ -63,8 +60,8 @@ BuildArch: noarch %description -n %{name}+build-devel %{_description} -This package contains library source intended for building other packages -which use "build" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "build" feature of the "%{crate}" crate. %files -n %{name}+build-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -75,8 +72,8 @@ BuildArch: noarch %description -n %{name}+cargo-devel %{_description} -This package contains library source intended for building other packages -which use "cargo" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "cargo" feature of the "%{crate}" crate. %files -n %{name}+cargo-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -87,8 +84,8 @@ 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 @@ -99,8 +96,8 @@ BuildArch: noarch %description -n %{name}+git-devel %{_description} -This package contains library source intended for building other packages -which use "git" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "git" feature of the "%{crate}" crate. %files -n %{name}+git-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -111,8 +108,8 @@ BuildArch: noarch %description -n %{name}+git2-devel %{_description} -This package contains library source intended for building other packages -which use "git2" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "git2" feature of the "%{crate}" crate. %files -n %{name}+git2-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -123,8 +120,8 @@ BuildArch: noarch %description -n %{name}+rustc-devel %{_description} -This package contains library source intended for building other packages -which use "rustc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "rustc" feature of the "%{crate}" crate. %files -n %{name}+rustc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -135,8 +132,8 @@ BuildArch: noarch %description -n %{name}+rustc_version-devel %{_description} -This package contains library source intended for building other packages -which use "rustc_version" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "rustc_version" feature of the "%{crate}" crate. %files -n %{name}+rustc_version-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -147,8 +144,8 @@ BuildArch: noarch %description -n %{name}+si-devel %{_description} -This package contains library source intended for building other packages -which use "si" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "si" feature of the "%{crate}" crate. %files -n %{name}+si-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -159,8 +156,8 @@ BuildArch: noarch %description -n %{name}+sysinfo-devel %{_description} -This package contains library source intended for building other packages -which use "sysinfo" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "sysinfo" feature of the "%{crate}" crate. %files -n %{name}+sysinfo-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index f619eac..06a28f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vergen-5.1.17.crate) = 212fcf0c29fecd85bb5e27ce3c954e5494581d3758c33b8f0533784f641a472cfb755121bc616b5e0d0ca61a5fcf6610e97fb6ab6081b8780043fcd0d547d156 +SHA512 (vergen-5.2.0.crate) = 17ad03a22e50ba69a50d46d0a85f8d7b4870f415b742e61de6ddf450f6785b12a04839770c74f39fe097d1ab714d4abeb26bdfe0d0faf1b7072326e82c2a92b0 diff --git a/vergen-fix-metadata.diff b/vergen-fix-metadata.diff index 9356a0b..783b261 100644 --- a/vergen-fix-metadata.diff +++ b/vergen-fix-metadata.diff @@ -1,5 +1,5 @@ ---- 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 +--- 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 @@ -51,7 +51,7 @@ optional = true