## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 # * missing dev-dependencies: postcard ^1 %bcond check 0 %global debug_package %{nil} %global crate tinystr Name: rust-tinystr Version: 0.7.6 Release: %autorelease Summary: Small ASCII-only bounded length string representation License: Unicode-3.0 URL: https://crates.io/crates/tinystr Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: tinystr-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A small ASCII-only bounded length string representation.} %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 %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}+databake-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+databake-devel %{_description} This package contains library source intended for building other packages which use the "databake" feature of the "%{crate}" crate. %files -n %{name}+databake-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}+zerovec-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zerovec-devel %{_description} This package contains library source intended for building other packages which use the "zerovec" feature of the "%{crate}" crate. %files -n %{name}+zerovec-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 * Mon Apr 07 2025 Benjamin A. Beasley - 0.7.6-4 - Restore the databake and zerovec features * Sun Jan 19 2025 Fedora Release Engineering - 0.7.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 0.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 24 2024 Fabio Valentini - 0.7.6-1 - Update to version 0.7.6; Fixes RHBZ#2283703 * Sat Jan 27 2024 Fedora Release Engineering - 0.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Nov 25 2023 Fabio Valentini - 0.7.5-1 - Update to version 0.7.5; Fixes RHBZ#2250207 * Sat Oct 07 2023 Fabio Valentini - 0.7.4-1 - Update to version 0.7.4; Fixes RHBZ#2242008 * Sun Sep 24 2023 Fabio Valentini - 0.7.3-1 - Update to version 0.7.3; Fixes RHBZ#2240285 * Sat Jul 22 2023 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 25 2023 Fabio Valentini - 0.7.1-1 - Update to version 0.7.1; Fixes RHBZ#2053217 * Sun Mar 12 2023 Fabio Valentini - 0.3.2-7 - Regenerate with rust2rpm v24 * Sat Jan 21 2023 Fedora Release Engineering - 0.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Nov 04 2022 Fabio Valentini - 0.3.2-5 - Drop unused, benchmark-only criterion dev-dependency * Sat Jul 23 2022 Fedora Release Engineering - 0.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Oct 01 2021 Link Dupont - 0.3.2-1 - Initial package ## END: Generated by rpmautospec