Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent d42bfbc011
commit 2f1d7c2d9f
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/cool_asserts-1.1.1.crate

@ -0,0 +1,68 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate cool_asserts
Name: rust-cool_asserts
Version: 1.1.1
Release: %autorelease
Summary: Collection of useful testing assertions and utilities
License: MPL-2.0
URL: https://crates.io/crates/cool_asserts
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A collection of useful testing assertions and utilities.}
%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
%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
%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 (cool_asserts-1.1.1.crate) = 2cfb7afac1916796398e9e84e1793de8d9ab10d3c11db26381e1c57ef2ffa0adb01e0bfded5f066d9366cbe3bb3e6fed30670cf9214bf5e192b6ade1e4231417
Loading…
Cancel
Save