initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent be8b1c3433
commit 37f9ab2aee

1
.gitignore vendored

@ -0,0 +1 @@
/pest-0.4.1.crate

@ -0,0 +1,55 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate pest
Name: rust-%{crate}
Version: 0.4.1
Release: 1%{?dist}
Summary: Elegant, efficient grammars
License: MPLv2.0
URL: https://crates.io/crates/pest
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
Elegant, efficient grammars.
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
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Thu Jul 06 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
- Initial package

@ -0,0 +1 @@
SHA512 (pest-0.4.1.crate) = b23465a79e8390abd28737f9eb59327e7d4ac2104b5558e08dbb0bc4e2115e1fdddca72b9b1f0a617ba1c947bfe613305cfffcb527be204fbffeb8242f3893a9
Loading…
Cancel
Save