## 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 proptest Name: rust-proptest Version: 1.6.0 Release: %autorelease Summary: Hypothesis-like property-based testing and shrinking License: MIT OR Apache-2.0 URL: https://crates.io/crates/proptest Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * relax trybuild dependency from =1.0.0 to ^1.0.0 # * drop files that are only useful for upstream development Patch: proptest-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Hypothesis-like property-based testing and shrinking.} %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}/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}+atomic64bit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+atomic64bit-devel %{_description} This package contains library source intended for building other packages which use the "atomic64bit" feature of the "%{crate}" crate. %files -n %{name}+atomic64bit-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+attr-macro-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+attr-macro-devel %{_description} This package contains library source intended for building other packages which use the "attr-macro" feature of the "%{crate}" crate. %files -n %{name}+attr-macro-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bit-set-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bit-set-devel %{_description} This package contains library source intended for building other packages which use the "bit-set" feature of the "%{crate}" crate. %files -n %{name}+bit-set-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+default-code-coverage-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-code-coverage-devel %{_description} This package contains library source intended for building other packages which use the "default-code-coverage" feature of the "%{crate}" crate. %files -n %{name}+default-code-coverage-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fork-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fork-devel %{_description} This package contains library source intended for building other packages which use the "fork" feature of the "%{crate}" crate. %files -n %{name}+fork-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+handle-panics-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+handle-panics-devel %{_description} This package contains library source intended for building other packages which use the "handle-panics" feature of the "%{crate}" crate. %files -n %{name}+handle-panics-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy_static-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lazy_static-devel %{_description} This package contains library source intended for building other packages which use the "lazy_static" feature of the "%{crate}" crate. %files -n %{name}+lazy_static-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_std-devel %{_description} This package contains library source intended for building other packages which use the "no_std" feature of the "%{crate}" crate. %files -n %{name}+no_std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proptest-macro-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proptest-macro-devel %{_description} This package contains library source intended for building other packages which use the "proptest-macro" feature of the "%{crate}" crate. %files -n %{name}+proptest-macro-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-syntax-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-syntax-devel %{_description} This package contains library source intended for building other packages which use the "regex-syntax" feature of the "%{crate}" crate. %files -n %{name}+regex-syntax-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rusty-fork-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rusty-fork-devel %{_description} This package contains library source intended for building other packages which use the "rusty-fork" feature of the "%{crate}" crate. %files -n %{name}+rusty-fork-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}+tempfile-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tempfile-devel %{_description} This package contains library source intended for building other packages which use the "tempfile" feature of the "%{crate}" crate. %files -n %{name}+tempfile-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+timeout-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+timeout-devel %{_description} This package contains library source intended for building other packages which use the "timeout" feature of the "%{crate}" crate. %files -n %{name}+timeout-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 %cargo_test %endif %changelog ## START: Generated by rpmautospec * Thu Jan 09 2025 Fabio Valentini - 1.6.0-1 - Update to version 1.6.0; Fixes RHBZ#2332515 * Fri Aug 02 2024 Fabio Valentini - 1.5.0-1 - Update to version 1.5.0; Fixes RHBZ#2293795 * Sat Jul 20 2024 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Nov 10 2023 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0; Fixes RHBZ#2249102 * Sat Oct 07 2023 Fabio Valentini - 1.3.1-1 - Update to version 1.3.1; Fixes RHBZ#2241566 * Fri Jul 21 2023 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu May 25 2023 Fabio Valentini - 1.2.0-1 - Update to version 1.2.0; Fixes RHBZ#2209420 * Tue Feb 21 2023 Fabio Valentini - 1.1.0-1 - Update to version 1.1.0; Fixes RHBZ#2167212 * Sat Jan 21 2023 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 30 2021 Fabio Valentini - 1.0.0-3 - Skip some tests that result in range overflows with rand >= 0.8.4. * Fri Jul 23 2021 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Fabio Valentini - 1.0.0-1 - Update to version 1.0.0. - Fixes RHBZ#1931159 * Wed Jan 27 2021 Fedora Release Engineering - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Dec 11 2020 Fabio Valentini - 0.10.1-2 - Remove hardware-rng feature (missing dependency: x86). * Fri Sep 25 2020 Fabio Valentini - 0.10.1-1 - Update to version 0.10.1. * Wed Jul 29 2020 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Apr 15 2020 Josh Stone - 0.9.6-1 - Update to 0.9.6 * Tue Feb 11 2020 Josh Stone - 0.9.5-3 - Disable testing on 32-bit arches. * Thu Jan 30 2020 Fedora Release Engineering - 0.9.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 17 2020 Josh Stone - 0.9.5-1 - Update to 0.9.5 * Fri Jul 26 2019 Fedora Release Engineering - 0.9.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 27 17:17:22 CEST 2019 Igor Gnatenko - 0.9.4-2 - Regenerate * Sun Jun 09 13:43:04 CEST 2019 Igor Gnatenko - 0.9.4-1 - Update to 0.9.4 * Mon Apr 29 07:08:16 CEST 2019 Igor Gnatenko - 0.9.3-1 - Update to 0.9.3 * Sat Apr 27 12:08:50 CEST 2019 Igor Gnatenko - 0.9.2-1 - Update to 0.9.2 * Sat Feb 02 2019 Fedora Release Engineering - 0.8.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Dec 15 2018 Igor Gnatenko - 0.8.7-4 - Bump rand to 0.6 * Sun Dec 09 2018 Igor Gnatenko - 0.8.7-3 - Rebuild * Sun Dec 09 2018 Igor Gnatenko - 0.8.7-2 - Run tests in infrastructure * Sun Dec 09 2018 Igor Gnatenko - 0.8.7-1 - Initial package ## END: Generated by rpmautospec