e06a8c1
# Generated by rust2rpm 25
87dabe8
%bcond_without check
126261f
%global debug_package %{nil}
126261f
126261f
%global crate proptest
126261f
1a77922
Name:           rust-proptest
cee70eb
Version:        1.4.0
e30c844
Release:        %autorelease
126261f
Summary:        Hypothesis-like property-based testing and shrinking
126261f
1a77922
License:        MIT OR Apache-2.0
126261f
URL:            https://crates.io/crates/proptest
5a7ea3a
Source:         %{crates_source}
1a77922
# Manually created patch for downstream crate metadata changes
1a77922
# * drop files that are only useful for upstream development
1a77922
Patch:          proptest-fix-metadata.diff
126261f
e06a8c1
BuildRequires:  cargo-rpm-macros >= 24
126261f
87dabe8
%global _description %{expand:
87dabe8
Hypothesis-like property-based testing and shrinking.}
126261f
126261f
%description %{_description}
126261f
126261f
%package        devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description    devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "%{crate}" crate.
126261f
126261f
%files          devel
1a77922
%license %{crate_instdir}/LICENSE-APACHE
1a77922
%license %{crate_instdir}/LICENSE-MIT
1a77922
%doc %{crate_instdir}/CHANGELOG.md
1a77922
%doc %{crate_instdir}/README.md
1a77922
%{crate_instdir}/
126261f
126261f
%package     -n %{name}+default-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+default-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "default" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+default-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
126261f
%package     -n %{name}+alloc-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+alloc-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "alloc" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+alloc-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
5a7ea3a
%package     -n %{name}+atomic64bit-devel
5a7ea3a
Summary:        %{summary}
5a7ea3a
BuildArch:      noarch
5a7ea3a
5a7ea3a
%description -n %{name}+atomic64bit-devel %{_description}
5a7ea3a
1a77922
This package contains library source intended for building other packages which
1a77922
use the "atomic64bit" feature of the "%{crate}" crate.
5a7ea3a
5a7ea3a
%files       -n %{name}+atomic64bit-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
5a7ea3a
126261f
%package     -n %{name}+bit-set-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+bit-set-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "bit-set" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+bit-set-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
5a7ea3a
%package     -n %{name}+default-code-coverage-devel
5a7ea3a
Summary:        %{summary}
5a7ea3a
BuildArch:      noarch
5a7ea3a
5a7ea3a
%description -n %{name}+default-code-coverage-devel %{_description}
5a7ea3a
1a77922
This package contains library source intended for building other packages which
1a77922
use the "default-code-coverage" feature of the "%{crate}" crate.
5a7ea3a
5a7ea3a
%files       -n %{name}+default-code-coverage-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
5a7ea3a
126261f
%package     -n %{name}+fork-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+fork-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "fork" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+fork-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
5a7ea3a
%package     -n %{name}+lazy_static-devel
5a7ea3a
Summary:        %{summary}
5a7ea3a
BuildArch:      noarch
5a7ea3a
5a7ea3a
%description -n %{name}+lazy_static-devel %{_description}
5a7ea3a
1a77922
This package contains library source intended for building other packages which
1a77922
use the "lazy_static" feature of the "%{crate}" crate.
5a7ea3a
5a7ea3a
%files       -n %{name}+lazy_static-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
5a7ea3a
126261f
%package     -n %{name}+regex-syntax-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+regex-syntax-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "regex-syntax" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+regex-syntax-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
126261f
%package     -n %{name}+rusty-fork-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+rusty-fork-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "rusty-fork" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+rusty-fork-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
126261f
%package     -n %{name}+std-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+std-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "std" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+std-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
126261f
%package     -n %{name}+tempfile-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+tempfile-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "tempfile" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+tempfile-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
126261f
%package     -n %{name}+timeout-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+timeout-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "timeout" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+timeout-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
126261f
%package     -n %{name}+unstable-devel
126261f
Summary:        %{summary}
126261f
BuildArch:      noarch
126261f
126261f
%description -n %{name}+unstable-devel %{_description}
126261f
1a77922
This package contains library source intended for building other packages which
1a77922
use the "unstable" feature of the "%{crate}" crate.
126261f
126261f
%files       -n %{name}+unstable-devel
1a77922
%ghost %{crate_instdir}/Cargo.toml
126261f
126261f
%prep
e06a8c1
%autosetup -n %{crate}-%{version} -p1
126261f
%cargo_prep
126261f
0dd7368
%generate_buildrequires
0dd7368
%cargo_generate_buildrequires
0dd7368
126261f
%build
126261f
%cargo_build
126261f
126261f
%install
126261f
%cargo_install
126261f
1a77922
%if %{with check}
126261f
%check
1a77922
%cargo_test
126261f
%endif
126261f
126261f
%changelog
e30c844
%autochangelog