Initial package

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent 17ca2b8c79
commit e7e6663975
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -0,0 +1 @@
/quickcheck_macros-0.9.1.crate

@ -0,0 +1,74 @@
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
%global crate quickcheck_macros
Name: rust-%{crate}
Version: 0.9.1
Release: 1%{?dist}
Summary: Macro attribute for quickcheck
# Upstream license specification: Unlicense/MIT
# https://github.com/BurntSushi/quickcheck/issues/258
License: Unlicense or MIT
URL: https://crates.io/crates/quickcheck_macros
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Macro attribute for quickcheck.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Fri Feb 28 19:39:11 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.9.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (quickcheck_macros-0.9.1.crate) = 1b014d1b6c8f8e97dbf00eef7b1bcb78605db609f0878ee9337644cb47d9cad9fd35f6db8475ad840cd172de65b3f448616f407b9b2fa1a7e775992dd3c762d9
Loading…
Cancel
Save