initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 123dddc208
commit fd5e25b737

1
.gitignore vendored

@ -0,0 +1 @@
/quick-error-1.2.1.crate

@ -0,0 +1,59 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate quick-error
Name: rust-%{crate}
Version: 1.2.1
Release: 1%{?dist}
Summary: Macro which makes error types pleasant to write
License: MIT or ASL 2.0
URL: https://crates.io/crates/quick-error
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
A macro which makes error types pleasant to write.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.rst
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/{bulk.yaml,vagga.yaml}
%changelog
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.1-1
- Update to 1.2.1
* Thu Jul 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (quick-error-1.2.1.crate) = 86242dc5a5b68d4d4df50db54b629256d8d33f9637c457c669d874685dd5218f96d0a2dbb16b5c77cca67480e2bc485b3aca6fdd100f615b4bd00004910d2ce3
Loading…
Cancel
Save