Compare commits

..

5 Commits

Author SHA1 Message Date
Fabio Valentini d04078f9b3
Update to version 2.1.0; Fixes RHBZ#2331190
2 months ago
Fabio Valentini 64da4ec0c4
Update to version 2.0.1; Fixes RHBZ#2319778
3 months ago
Fedora Release Engineering b321d001c4 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
7 months ago
Fedora Release Engineering e83b95611d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1 year ago
Fedora Release Engineering ab9fb10552 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago

@ -1,3 +0,0 @@
# rust-twox-hash
The rust-twox-hash package

@ -1,25 +1,22 @@
# Generated by rust2rpm 23 # Generated by rust2rpm 27
%bcond_without check %bcond check 1
%global debug_package %{nil} %global debug_package %{nil}
%global crate twox-hash %global crate twox-hash
Name: rust-twox-hash Name: rust-twox-hash
Version: 1.6.3 Version: 2.1.0
Release: %autorelease Release: %autorelease
Summary: Rust implementation of the XXHash and XXH3 algorithms Summary: Rust implementation of the XXHash and XXH3 algorithms
License: MIT License: MIT
URL: https://crates.io/crates/twox-hash URL: https://crates.io/crates/twox-hash
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * prevent useless example binary from being installed
Patch: twox-hash-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Rust implementation of the XXHash and XXH3 algorithms.} A Rust implementation of the XXHash and XXH3 algorithms.}
%description %{_description} %description %{_description}
@ -34,6 +31,7 @@ use the "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE.txt %license %{crate_instdir}/LICENSE.txt
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md %doc %{crate_instdir}/README.md
%{crate_instdir}/ %{crate_instdir}/
@ -49,80 +47,104 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+digest_0_10-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+digest_0_10-devel %{_description} %description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "digest_0_10" feature of the "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+digest_0_10-devel %files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+digest_0_9-devel %package -n %{name}+random-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+digest_0_9-devel %{_description} %description -n %{name}+random-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "digest_0_9" feature of the "%{crate}" crate. use the "random" feature of the "%{crate}" crate.
%files -n %{name}+digest_0_9-devel %files -n %{name}+random-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rand-devel %package -n %{name}+serialize-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+rand-devel %{_description} %description -n %{name}+serialize-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "rand" feature of the "%{crate}" crate. use the "serialize" feature of the "%{crate}" crate.
%files -n %{name}+rand-devel %files -n %{name}+serialize-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serialize-devel %package -n %{name}+xxhash32-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+serialize-devel %{_description} %description -n %{name}+xxhash32-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "serialize" feature of the "%{crate}" crate. use the "xxhash32" feature of the "%{crate}" crate.
%files -n %{name}+serialize-devel %files -n %{name}+xxhash32-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+xxhash3_128-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+xxhash3_128-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "xxhash3_128" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+xxhash3_128-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+xxhash3_64-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+xxhash3_64-devel %{_description}
This package contains library source intended for building other packages which
use the "xxhash3_64" feature of the "%{crate}" crate.
%files -n %{name}+xxhash3_64-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+xxhash64-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+xxhash64-devel %{_description}
This package contains library source intended for building other packages which
use the "xxhash64" feature of the "%{crate}" crate.
%files -n %{name}+xxhash64-devel
%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,4 +0,0 @@
[fedora]
# The compat package for `digest` = 0.8 is not available in Fedora
unwanted-features =
digest

@ -1 +1 @@
SHA512 (twox-hash-1.6.3.crate) = f7ce63e6e5ca79ce9330caf40b32578a5d2088c5d8ed371604268760d6e212d447d9e3a95378378a283024155bccdaea47597902c488a94c5d5f79770baec8fc SHA512 (twox-hash-2.1.0.crate) = 33c9b3c30bfc8c0e24424a3f1cf328745db17cccd2711a4f7449b252a4977969d09367ce68c3dc16dce7ccf0d7f785e25c86cb433737675da135e8561eede523

@ -1,10 +0,0 @@
--- twox-hash-1.6.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ twox-hash-1.6.3/Cargo.toml 2023-02-05T14:34:44.019474+00:00
@@ -26,6 +26,7 @@
categories = ["algorithms"]
license = "MIT"
repository = "https://github.com/shepmaster/twox-hash"
+autobins = false
[dependencies.cfg-if]
version = ">= 0.1, < 2"
Loading…
Cancel
Save