Compare commits

...

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

4
.gitignore vendored

@ -1,3 +1 @@
*.crate
*.src.rpm
results_*/
SOURCES/twox-hash-2.1.0.crate

@ -0,0 +1 @@
d752677561b2439b699c07f5545dd3f17520b119 SOURCES/twox-hash-2.1.0.crate

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

@ -0,0 +1,208 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate twox-hash
Name: rust-twox-hash
Version: 2.1.0
Release: %autorelease
Summary: Rust implementation of the XXHash and XXH3 algorithms
License: MIT
URL: https://crates.io/crates/twox-hash
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A Rust implementation of the XXHash and XXH3 algorithms.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE.txt
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+random-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+random-devel %{_description}
This package contains library source intended for building other packages which
use the "random" feature of the "%{crate}" crate.
%files -n %{name}+random-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serialize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serialize-devel %{_description}
This package contains library source intended for building other packages which
use the "serialize" feature of the "%{crate}" crate.
%files -n %{name}+serialize-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+xxhash32-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+xxhash32-devel %{_description}
This package contains library source intended for building other packages which
use the "xxhash32" feature of the "%{crate}" crate.
%files -n %{name}+xxhash32-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+xxhash3_128-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+xxhash3_128-devel %{_description}
This package contains library source intended for building other packages which
use the "xxhash3_128" feature of the "%{crate}" crate.
%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
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.1.0-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Thu Dec 12 2024 Fabio Valentini <decathorpe@gmail.com> - 2.1.0-1
- Update to version 2.1.0; Fixes RHBZ#2331190
* Mon Dec 02 2024 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-1
- Update to version 2.0.1; Fixes RHBZ#2319778
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sun Feb 05 2023 Fabio Valentini <decathorpe@gmail.com> - 1.6.3-4
- Prevent useless example binary from being installed
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed May 04 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 1.6.3-1
- Update to 1.6.3 (#2081798)
* Tue Apr 05 2022 Aleksei Bavshin <alebastr@fedoraproject.org> - 1.6.2-1
- Initial import (#2064142)
## END: Generated by rpmautospec

@ -1,143 +0,0 @@
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate twox-hash
Name: rust-twox-hash
Version: 1.6.3
Release: %autorelease
Summary: Rust implementation of the XXHash and XXH3 algorithms
License: MIT
URL: https://crates.io/crates/twox-hash
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
%global _description %{expand:
Rust implementation of the XXHash and XXH3 algorithms.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE.txt
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+digest_0_10-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+digest_0_10-devel %{_description}
This package contains library source intended for building other packages which
use the "digest_0_10" feature of the "%{crate}" crate.
%files -n %{name}+digest_0_10-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+digest_0_9-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+digest_0_9-devel %{_description}
This package contains library source intended for building other packages which
use the "digest_0_9" feature of the "%{crate}" crate.
%files -n %{name}+digest_0_9-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rand-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rand-devel %{_description}
This package contains library source intended for building other packages which
use the "rand" feature of the "%{crate}" crate.
%files -n %{name}+rand-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serialize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+serialize-devel %{_description}
This package contains library source intended for building other packages which
use the "serialize" feature of the "%{crate}" crate.
%files -n %{name}+serialize-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -1,4 +0,0 @@
[fedora]
# The compat package for `digest` = 0.8 is not available in Fedora
unwanted-features =
digest

@ -1 +0,0 @@
SHA512 (twox-hash-1.6.3.crate) = f7ce63e6e5ca79ce9330caf40b32578a5d2088c5d8ed371604268760d6e212d447d9e3a95378378a283024155bccdaea47597902c488a94c5d5f79770baec8fc

@ -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