Update to version 3.2.1; Fixes RHBZ#2273897

epel10
Fabio Valentini 11 months ago
parent 1fcae749fc
commit ac36b25888
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/crc-1.9.0.crate /crc-1.9.0.crate
/crc-2.1.0.crate /crc-2.1.0.crate
/crc-3.0.1.crate /crc-3.0.1.crate
/crc-3.2.1.crate

@ -0,0 +1,15 @@
--- crc-3.2.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ crc-3.2.1/Cargo.toml 2024-04-16T10:58:50.798875+00:00
@@ -35,12 +35,5 @@
license = "MIT OR Apache-2.0"
repository = "https://github.com/mrhooray/crc-rs.git"
-[[bench]]
-name = "bench"
-harness = false
-
[dependencies.crc-catalog]
version = "2.4.0"
-
-[dev-dependencies.criterion]
-version = "0.4"

@ -1,19 +1,22 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate crc %global crate crc
Name: rust-crc Name: rust-crc
Version: 3.0.1 Version: 3.2.1
Release: %autorelease Release: %autorelease
Summary: Rust implementation of CRC with support of various standards Summary: Rust implementation of CRC with support of various standards
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/crc URL: https://crates.io/crates/crc
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency
Patch: crc-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Rust implementation of CRC with support of various standards.} Rust implementation of CRC with support of various standards.}
@ -48,7 +51,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (crc-3.0.1.crate) = aabe9d4058fb4710405146e978ec5881bce5ce8971618b69a7ff873b0fff15fc78e5c48ff0136ca6d37663a53905bc3c5daa0ed3a2ed4d8d721e90c3b0ec28a5 SHA512 (crc-3.2.1.crate) = 64b7272d8cf55efe9768f9f3218f83302ccb59458a56fe3b7b2de1a53eb5a3b57fbf268647fdba5b230cccdd4058462ba583d76870ba12cb1057ac2787f181db

Loading…
Cancel
Save