## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 25 %bcond_without check %global debug_package %{nil} %global crate winnow Name: rust-winnow Version: 0.6.2 Release: %autorelease Summary: Byte-oriented, zero-copy, parser combinators library License: MIT URL: https://crates.io/crates/winnow Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove references to benchmark and example binaries from Cargo.toml # * drop unused, benchmark-only criterion dev-dependency # * drop dev-dependencies which are only needed for example binaries Patch: winnow-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A byte-oriented, zero-copy, parser combinators library.} %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-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}+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}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+simd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+simd-devel %{_description} This package contains library source intended for building other packages which use the "simd" feature of the "%{crate}" crate. %files -n %{name}+simd-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}+unstable-doc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-doc-devel %{_description} This package contains library source intended for building other packages which use the "unstable-doc" feature of the "%{crate}" crate. %files -n %{name}+unstable-doc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-recover-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-recover-devel %{_description} This package contains library source intended for building other packages which use the "unstable-recover" feature of the "%{crate}" crate. %files -n %{name}+unstable-recover-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 Feb 19 2024 Fabio Valentini - 0.6.2-1 - Update to version 0.6.2; Fixes RHBZ#2262145 * Sun Feb 18 2024 Fabio Valentini - 0.5.40-1 - Update to version 0.5.40 * Tue Jan 30 2024 Fabio Valentini - 0.5.35-1 - Update to version 0.5.35; Fixes RHBZ#2260544 * Sat Jan 27 2024 Fedora Release Engineering - 0.5.34-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 13 2024 Fabio Valentini - 0.5.34-1 - Update to version 0.5.34; Fixes RHBZ#2257070 * Fri Jan 05 2024 Fabio Valentini - 0.5.32-1 - Update to version 0.5.32; Fixes RHBZ#2256674 * Wed Dec 27 2023 Fabio Valentini - 0.5.31-1 - Update to version 0.5.31; Fixes RHBZ#2252809 * Thu Nov 09 2023 Fabio Valentini - 0.5.19-1 - Update to version 0.5.19; Fixes RHBZ#2244145 * Sat Oct 07 2023 Fabio Valentini - 0.5.16-1 - Update to version 0.5.16; Fixes RHBZ#2242413 * Wed Sep 13 2023 Fabio Valentini - 0.5.15-1 - Update to version 0.5.15; Fixes RHBZ#2221328 * Sat Jul 22 2023 Fedora Release Engineering - 0.4.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 13 2023 Fabio Valentini - 0.4.9-1 - Update to version 0.4.9 * Fri Jul 07 2023 Fabio Valentini - 0.4.8-1 - Update to version 0.4.8; Fixes RHBZ#2220956 * Fri Jun 23 2023 Fabio Valentini - 0.4.7-1 - Update to version 0.4.7; Fixes RHBZ#2215139 * Mon May 08 2023 Fabio Valentini - 0.4.6-1 - Update to version 0.4.6; Fixes RHBZ#2191714 * Mon Apr 03 2023 Fabio Valentini - 0.4.1-1 - Initial import (#2183331) ## END: Generated by rpmautospec