diff --git a/crc-fix-metadata.diff b/crc-fix-metadata.diff deleted file mode 100644 index 79723b8..0000000 --- a/crc-fix-metadata.diff +++ /dev/null @@ -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" - diff --git a/rust-crc.spec b/rust-crc.spec index 6cb49dc..cd5faa1 100644 --- a/rust-crc.spec +++ b/rust-crc.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate crc Name: rust-%{crate} -Version: 1.9.0 -Release: 2%{?dist} +Version: 1.8.1 +Release: 8%{?dist} Summary: Rust implementation of CRC(16, 32, 64) with support of various standards # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/crc 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} %if %{__cargo_skip_build} @@ -41,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,7 +50,7 @@ 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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -65,7 +62,7 @@ This package contains library source intended for building other packages which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -86,6 +83,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Mon Feb 24 2020 Josh Stone - 1.8.1-8 +- Revert to 1.8.1, as 1.9.0 was yanked upstream + * Thu Jan 30 2020 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 45ed24b..2325314 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crc-1.9.0.crate) = a287c7409d5c1d115bbcfd7b74b2ea898eef28ddef909e29c019269e123623e792d2346c7d8ac9dd25dee3529540b38b62862081a83b611cdfc5540c6c8e93f1 +SHA512 (crc-1.8.1.crate) = db0b3d0ca197cb2a2049720b753061f1532d1ba2c86c7befce36a18cb4e8008b061e39e26960b4d9dcf1e7ea55348f55c441da5d17cd0a424402a8489d52ed1a