You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-proptest0.10/SPECS/rust-proptest0.10.spec

291 lines
8.9 KiB

## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 11;
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 26
%bcond_without check
%global debug_package %{nil}
%global crate proptest
Name: rust-proptest0.10
Version: 0.10.1
Release: %autorelease
Summary: Hypothesis-like property-based testing and shrinking
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/proptest
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * exclude files that are only useful for upstream
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}+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}+break-dead-code-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+break-dead-code-devel %{_description}
This package contains library source intended for building other packages which
use the "break-dead-code" feature of the "%{crate}" crate.
%files -n %{name}+break-dead-code-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}+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}+quick-error-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+quick-error-devel %{_description}
This package contains library source intended for building other packages which
use the "quick-error" feature of the "%{crate}" crate.
%files -n %{name}+quick-error-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
%ifnarch %{ix86} %{arm}
# * building tests hits OOM on 32-bit architectures
# * skip regex tests that fail with regex 1.11 (Unicode 16)
%cargo_test -- -- --exact --skip string::test::askalono_0 --skip string::test::askalono_9 --skip string::test::comrak_0 --skip string::test::fblog_0 --skip string::test::fblog_1 --skip string::test::linky_0 --skip string::test::phone_number_0 --skip string::test::phonenumber_5 --skip string::test::spaceslugs_2 --skip string::test::stache_0
%endif
%endif
%changelog
* Sat Jan 04 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.10.1-11
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Fri Oct 11 2024 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-11
- Skip regex tests that fail with regex 1.11 (Unicode 16)
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon May 22 2023 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-7
- Regenerate with rust2rpm v24
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Fabio Valentini <decathorpe@gmail.com> - 0.10.1-1
- Initial compat package for proptest 0.10
## END: Generated by rpmautospec