## 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 - 2.1.0-1 - Rebuilt for MSVSphere 10 ## START: Generated by rpmautospec * Thu Dec 12 2024 Fabio Valentini - 2.1.0-1 - Update to version 2.1.0; Fixes RHBZ#2331190 * Mon Dec 02 2024 Fabio Valentini - 2.0.1-1 - Update to version 2.0.1; Fixes RHBZ#2319778 * Sat Jul 20 2024 Fedora Release Engineering - 1.6.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 1.6.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 1.6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Feb 05 2023 Fabio Valentini - 1.6.3-4 - Prevent useless example binary from being installed * Sat Jan 21 2023 Fedora Release Engineering - 1.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed May 04 2022 Aleksei Bavshin - 1.6.3-1 - Update to 1.6.3 (#2081798) * Tue Apr 05 2022 Aleksei Bavshin - 1.6.2-1 - Initial import (#2064142) ## END: Generated by rpmautospec