Initial import

epel9
Orion Poplawski 2 years ago
parent 76cb6782a6
commit d1423aac2b

1
.gitignore vendored

@ -0,0 +1 @@
/primal-check-0.3.2.crate

@ -0,0 +1,83 @@
# Generated by rust2rpm 22
# Circular dep with primal - build without check to bootstrap
%bcond_with check
%global debug_package %{nil}
%global crate primal-check
Name: rust-primal-check
Version: 0.3.2
Release: %autorelease
Summary: Fast standalone primality testing
License: MIT OR Apache-2.0
URL: https://crates.io/crates/primal-check
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Fast standalone primality testing.}
%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
%{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}+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
%autochangelog

@ -0,0 +1 @@
SHA512 (primal-check-0.3.2.crate) = 1261b67c740c99d639fab0a108b875f86def83eb7856ff7625c6609802a8445771b9c838b2aded1aa3f44cc5632b370ac0dd0d14574923adaccd7184cdb8a811
Loading…
Cancel
Save