Revert to 1.8.1, as 1.9.0 was yanked upstream

epel10
Josh Stone 5 years ago
parent 2638be7578
commit be031e4e28

@ -1,11 +0,0 @@
--- crc-1.9.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ crc-1.9.0/Cargo.toml 2019-10-25T17:23:50.786707+00:00
@@ -25,7 +25,7 @@
name = "bench"
harness = false
[dev-dependencies.criterion]
-version = "0.2.5"
+version = "0.3"
[build-dependencies.build_const]
version = "0.2"

@ -1,21 +1,18 @@
# Generated by rust2rpm 10 # Generated by rust2rpm 13
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate crc %global crate crc
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.9.0 Version: 1.8.1
Release: 2%{?dist} Release: 8%{?dist}
Summary: Rust implementation of CRC(16, 32, 64) with support of various standards Summary: Rust implementation of CRC(16, 32, 64) with support of various standards
# Upstream license specification: MIT OR Apache-2.0 # Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/crc URL: https://crates.io/crates/crc
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * Update criterion to 0.3, https://github.com/mrhooray/crc-rs/commit/8c2949224a85037c4d8764ea238e7adf840f56f3
Patch0: crc-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}
@ -41,7 +38,7 @@ which use "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license LICENSE-MIT LICENSE-APACHE
%doc README.md %doc README.md
%{cargo_registry}/%{crate}-%{version}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -53,7 +50,7 @@ This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate. which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -65,7 +62,7 @@ This package contains library source intended for building other packages
which use "std" feature of "%{crate}" crate. which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
@ -86,6 +83,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Mon Feb 24 2020 Josh Stone <jistone@redhat.com> - 1.8.1-8
- Revert to 1.8.1, as 1.9.0 was yanked upstream
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2 * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

@ -1 +1 @@
SHA512 (crc-1.9.0.crate) = a287c7409d5c1d115bbcfd7b74b2ea898eef28ddef909e29c019269e123623e792d2346c7d8ac9dd25dee3529540b38b62862081a83b611cdfc5540c6c8e93f1 SHA512 (crc-1.8.1.crate) = db0b3d0ca197cb2a2049720b753061f1532d1ba2c86c7befce36a18cb4e8008b061e39e26960b4d9dcf1e7ea55348f55c441da5d17cd0a424402a8489d52ed1a

Loading…
Cancel
Save