## 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 ordermap Name: rust-ordermap Version: 0.5.5 Release: %autorelease Summary: Hash table with consistent order and fast iteration License: Apache-2.0 OR MIT URL: https://crates.io/crates/ordermap Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused benchmark definitions # * drop unused optional support for borsh Patch: ordermap-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A hash table with consistent order and fast iteration.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.md %doc %{crate_instdir}/RELEASES.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}+arbitrary-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arbitrary-devel %{_description} This package contains library source intended for building other packages which use the "arbitrary" feature of the "%{crate}" crate. %files -n %{name}+arbitrary-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quickcheck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quickcheck-devel %{_description} This package contains library source intended for building other packages which use the "quickcheck" feature of the "%{crate}" crate. %files -n %{name}+quickcheck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rayon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rayon-devel %{_description} This package contains library source intended for building other packages which use the "rayon" feature of the "%{crate}" crate. %files -n %{name}+rayon-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}+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} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sun Feb 16 2025 Fabio Valentini - 0.5.5-1 - Update to version 0.5.5; Fixes RHBZ#2338941 * Sun Jan 19 2025 Fedora Release Engineering - 0.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Dec 01 2024 Fabio Valentini - 0.5.4-1 - Update to version 0.5.4; Fixes RHBZ#2329662 * Tue Oct 01 2024 Fabio Valentini - 0.5.3-1 - Update to version 0.5.3 * Sat Jul 28 2018 Igor Gnatenko - 0.4.1-3 - Rebuild to trigger tests * Sat Jul 14 2018 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 15 2018 Igor Gnatenko - 0.4.1-1 - Update to 0.4.1 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 0.4.0-1 - Update to 0.4.0 * Mon Jan 15 2018 Igor Gnatenko - 0.3.5-1 - Update to 0.3.5 * Mon Jan 08 2018 Igor Gnatenko - 0.3.4-2 - Rebuild for rust-packaging v5 * Thu Jan 04 2018 Igor Gnatenko - 0.3.4-1 - Update to 0.3.4 * Sun Dec 31 2017 Igor Gnatenko - 0.3.3-2 - Bump rand to 0.4 * Sun Dec 31 2017 Igor Gnatenko - 0.3.3-1 - Update to 0.3.3 * Fri Dec 01 2017 Igor Gnatenko - 0.3.2-1 - Initial package ## END: Generated by rpmautospec