## 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 predicates Name: rust-predicates Version: 3.1.3 Release: %autorelease Summary: Implementation of boolean-valued predicate functions License: MIT OR Apache-2.0 URL: https://crates.io/crates/predicates Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An implementation of boolean-valued predicate functions.} %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}+color-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+color-devel %{_description} This package contains library source intended for building other packages which use the "color" feature of the "%{crate}" crate. %files -n %{name}+color-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+diff-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+diff-devel %{_description} This package contains library source intended for building other packages which use the "diff" feature of the "%{crate}" crate. %files -n %{name}+diff-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+float-cmp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+float-cmp-devel %{_description} This package contains library source intended for building other packages which use the "float-cmp" feature of the "%{crate}" crate. %files -n %{name}+float-cmp-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+normalize-line-endings-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+normalize-line-endings-devel %{_description} This package contains library source intended for building other packages which use the "normalize-line-endings" feature of the "%{crate}" crate. %files -n %{name}+normalize-line-endings-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 # * skip one broken doctest %cargo_test -- -- --skip path::fc::PredicateFileContentExt::from_file_path %endif %changelog ## START: Generated by rpmautospec * Mon Jan 06 2025 Fabio Valentini - 3.1.3-1 - Update to version 3.1.3; Fixes RHBZ#2333410 * Fri Jul 26 2024 Fabio Valentini - 3.1.2-1 - Update to version 3.1.2; Fixes RHBZ#2299892 * Sat Jul 20 2024 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jan 30 2024 Fabio Valentini - 3.1.0-1 - Update to version 3.1.0; Fixes RHBZ#2258526 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Sep 18 2023 Fabio Valentini - 3.0.4-1 - Update to version 3.0.4; Fixes RHBZ#2239468 * Fri Jul 21 2023 Fedora Release Engineering - 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 11 2023 Fabio Valentini - 3.0.3-1 - Update to version 3.0.3; Fixes RHBZ#2186518 * Sat Apr 08 2023 Fabio Valentini - 3.0.2-1 - Update to version 3.0.2; Fixes RHBZ#2178703 * Tue Feb 21 2023 Fabio Valentini - 2.1.5-1 - Update to version 2.1.5; Fixes RHBZ#2140269 * Sat Jan 21 2023 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 27 2022 Fabio Valentini - 2.1.1-1 - Update to version 2.1.1; Fixes RHBZ#2039548 * Fri Jan 21 2022 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Nov 23 2021 Fabio Valentini - 2.1.0-1 - Update to version 2.1.0; Fixes RHBZ#2011986 * Thu Aug 26 2021 Fabio Valentini - 2.0.2-1 - Update to version 2.0.2; Fixes RHBZ#1978962 * Fri Jul 23 2021 Fedora Release Engineering - 1.0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Apr 29 2021 Fabio Valentini - 1.0.8-1 - Update to version 1.0.8. - Fixes RHBZ#1954841 * Thu Mar 04 2021 Fabio Valentini - 1.0.7-1 - Update to version 1.0.7. * Wed Jan 27 2021 Fedora Release Engineering - 1.0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 29 2020 Fabio Valentini - 1.0.6-1 - Update to version 1.0.6. - Fixes RHBZ#1911389 * Mon Oct 26 2020 Fabio Valentini - 1.0.5-1 - Update to version 1.0.5. * Wed Jul 29 2020 Fedora Release Engineering - 1.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Mar 23 18:34:35 CET 2020 Igor Raits - 1.0.4-1 - Update to 1.0.4 * Wed Mar 04 13:00:16 EET 2020 Artem Polishchuk - 1.0.3-1 - Initial package ## END: Generated by rpmautospec