## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 24 %bcond_without check %global debug_package %{nil} %global crate predicates Name: rust-predicates1 Version: 1.0.8 Release: %autorelease Summary: Implementation of boolean-valued predicate functions # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/predicates Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump float-cmp from 0.8 to 0.9 (already upstream) Patch: predicates-fix-metadata.diff BuildRequires: rust-packaging >= 21 %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}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.md %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}+difference-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+difference-devel %{_description} This package contains library source intended for building other packages which use the "difference" feature of the "%{crate}" crate. %files -n %{name}+difference-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_no_tilde} -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 Jan 26 2024 Fedora Release Engineering - 1.0.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.0.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 25 2023 Fabio Valentini - 1.0.8-5 - Regenerate with rust2rpm v24 * Sat Jan 21 2023 Fedora Release Engineering - 1.0.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 26 2021 Fabio Valentini - 1.0.8-1 - Initial import (predicates 1 compat package) ## END: Generated by rpmautospec