Revert "Update to version 5.2.0; Fixes RHBZ#2026993"

This reverts commit c56a67d90f.

Version 5.2.0 was found to contain SemVer-incompatible API changes:
https://github.com/rustyhorde/vergen/issues/96
epel9
Fabio Valentini 3 years ago
parent c56a67d90f
commit c7796defe2
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,4 +3,3 @@
/vergen-5.1.14.crate /vergen-5.1.14.crate
/vergen-5.1.15.crate /vergen-5.1.15.crate
/vergen-5.1.17.crate /vergen-5.1.17.crate
/vergen-5.2.0.crate

@ -1,4 +1,4 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 18
# * test files and git repository data are not shipped with published crates # * test files and git repository data are not shipped with published crates
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
@ -6,7 +6,7 @@
%global crate vergen %global crate vergen
Name: rust-%{crate} Name: rust-%{crate}
Version: 5.2.0 Version: 5.1.17
Release: %autorelease Release: %autorelease
Summary: Generate cargo:rustc-env instructions for use with env! Summary: Generate cargo:rustc-env instructions for use with env!
@ -19,6 +19,9 @@ Source: %{crates_source}
Patch0: vergen-fix-metadata.diff Patch0: vergen-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -34,12 +37,12 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "%{crate}" crate. which use "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license LICENSE-APACHE LICENSE-MIT
%doc CONTRIBUTING.md README.md %doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
@ -48,8 +51,8 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "default" feature of the "%{crate}" crate. which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -60,8 +63,8 @@ BuildArch: noarch
%description -n %{name}+build-devel %{_description} %description -n %{name}+build-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "build" feature of the "%{crate}" crate. which use "build" feature of "%{crate}" crate.
%files -n %{name}+build-devel %files -n %{name}+build-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -72,8 +75,8 @@ BuildArch: noarch
%description -n %{name}+cargo-devel %{_description} %description -n %{name}+cargo-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "cargo" feature of the "%{crate}" crate. which use "cargo" feature of "%{crate}" crate.
%files -n %{name}+cargo-devel %files -n %{name}+cargo-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -84,8 +87,8 @@ BuildArch: noarch
%description -n %{name}+chrono-devel %{_description} %description -n %{name}+chrono-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "chrono" feature of the "%{crate}" crate. which use "chrono" feature of "%{crate}" crate.
%files -n %{name}+chrono-devel %files -n %{name}+chrono-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -96,8 +99,8 @@ BuildArch: noarch
%description -n %{name}+git-devel %{_description} %description -n %{name}+git-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "git" feature of the "%{crate}" crate. which use "git" feature of "%{crate}" crate.
%files -n %{name}+git-devel %files -n %{name}+git-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -108,8 +111,8 @@ BuildArch: noarch
%description -n %{name}+git2-devel %{_description} %description -n %{name}+git2-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "git2" feature of the "%{crate}" crate. which use "git2" feature of "%{crate}" crate.
%files -n %{name}+git2-devel %files -n %{name}+git2-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -120,8 +123,8 @@ BuildArch: noarch
%description -n %{name}+rustc-devel %{_description} %description -n %{name}+rustc-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "rustc" feature of the "%{crate}" crate. which use "rustc" feature of "%{crate}" crate.
%files -n %{name}+rustc-devel %files -n %{name}+rustc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -132,8 +135,8 @@ BuildArch: noarch
%description -n %{name}+rustc_version-devel %{_description} %description -n %{name}+rustc_version-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "rustc_version" feature of the "%{crate}" crate. which use "rustc_version" feature of "%{crate}" crate.
%files -n %{name}+rustc_version-devel %files -n %{name}+rustc_version-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -144,8 +147,8 @@ BuildArch: noarch
%description -n %{name}+si-devel %{_description} %description -n %{name}+si-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "si" feature of the "%{crate}" crate. which use "si" feature of "%{crate}" crate.
%files -n %{name}+si-devel %files -n %{name}+si-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -156,8 +159,8 @@ BuildArch: noarch
%description -n %{name}+sysinfo-devel %{_description} %description -n %{name}+sysinfo-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages
use the "sysinfo" feature of the "%{crate}" crate. which use "sysinfo" feature of "%{crate}" crate.
%files -n %{name}+sysinfo-devel %files -n %{name}+sysinfo-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

@ -1 +1 @@
SHA512 (vergen-5.2.0.crate) = 17ad03a22e50ba69a50d46d0a85f8d7b4870f415b742e61de6ddf450f6785b12a04839770c74f39fe097d1ab714d4abeb26bdfe0d0faf1b7072326e82c2a92b0 SHA512 (vergen-5.1.17.crate) = 212fcf0c29fecd85bb5e27ce3c954e5494581d3758c33b8f0533784f641a472cfb755121bc616b5e0d0ca61a5fcf6610e97fb6ab6081b8780043fcd0d547d156

@ -1,5 +1,5 @@
--- vergen-5.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- vergen-5.1.17/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 2021-11-04T21:29:09.220205+00:00
@@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
optional = true optional = true

Loading…
Cancel
Save