## 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 26 %bcond_without check %global debug_package %{nil} %global crate kstring Name: rust-kstring Version: 2.0.2 Release: %autorelease Summary: Key String: optimized for map keys License: MIT OR Apache-2.0 URL: https://crates.io/crates/kstring Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: kstring-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Key String: optimized for map keys.} %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 %{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}+arc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arc-devel %{_description} This package contains library source intended for building other packages which use the "arc" feature of the "%{crate}" crate. %files -n %{name}+arc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+document-features-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+document-features-devel %{_description} This package contains library source intended for building other packages which use the "document-features" feature of the "%{crate}" crate. %files -n %{name}+document-features-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+max_inline-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+max_inline-devel %{_description} This package contains library source intended for building other packages which use the "max_inline" feature of the "%{crate}" crate. %files -n %{name}+max_inline-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 %package -n %{name}+unsafe-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unsafe-devel %{_description} This package contains library source intended for building other packages which use the "unsafe" feature of the "%{crate}" crate. %files -n %{name}+unsafe-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_bench_subset-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_bench_subset-devel %{_description} This package contains library source intended for building other packages which use the "unstable_bench_subset" feature of the "%{crate}" crate. %files -n %{name}+unstable_bench_subset-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 * Fri Jul 26 2024 Fabio Valentini - 2.0.2-1 - Update to version 2.0.2; Fixes RHBZ#2299347 * Fri Jul 19 2024 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 25 2022 Fabio Valentini - 2.0.0-1 - Update to version 2.0.0; Fixes RHBZ#2069845 * Sat Jul 23 2022 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Mar 29 2022 Fabio Valentini - 1.1.0-1 - Update to version 1.1.0; Fixes RHBZ#2069444 * Sat Feb 05 2022 Fabio Valentini - 1.0.6-1 - Update to version 1.0.6 * Fri Jul 23 2021 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jul 18 2021 Fabio Valentini - 1.0.4-1 - Update to version 1.0.4; Fixes RHBZ#1979737 * Wed Mar 03 2021 Fabio Valentini - 1.0.1-1 - Update to version 1.0.1. - Fixes RHBZ#1922550 * Wed Jan 27 2021 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Nov 10 2020 Fabio Valentini - 1.0.0-1 - Update to version 1.0.0. * Wed Jul 29 2020 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 19 2020 Josh Stone - 0.1.1-1 - Update to 0.1.1 * Sun Mar 22 15:12:58 CET 2020 Igor Raits - 0.1.0-1 - Initial package ## END: Generated by rpmautospec