parent
669e763696
commit
6a7baab08a
@ -0,0 +1 @@
|
|||||||
|
/pest_derive-1.0.1.crate
|
@ -0,0 +1,11 @@
|
|||||||
|
--- pest_derive-1.0.1/Cargo.toml 1970-01-01T01:00:00+01:00
|
||||||
|
+++ pest_derive-1.0.1/Cargo.toml 2018-01-21T15:09:21.922393+01:00
|
||||||
|
@@ -32,7 +32,7 @@
|
||||||
|
version = "^0.3"
|
||||||
|
|
||||||
|
[dependencies.syn]
|
||||||
|
-version = "^0.10"
|
||||||
|
+version = "^0.11"
|
||||||
|
[badges.codecov]
|
||||||
|
repository = "pest-parser/pest"
|
||||||
|
|
@ -0,0 +1,62 @@
|
|||||||
|
# Generated by rust2rpm
|
||||||
|
%bcond_without check
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%global crate pest_derive
|
||||||
|
|
||||||
|
Name: rust-%{crate}
|
||||||
|
Version: 1.0.1
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Pest's derive macro
|
||||||
|
|
||||||
|
# https://github.com/pest-parser/pest/pull/183
|
||||||
|
License: MIT or ASL 2.0
|
||||||
|
URL: https://crates.io/crates/pest_derive
|
||||||
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
||||||
|
# Initial patched metadata
|
||||||
|
# * Bump syn to 0.11, https://github.com/pest-parser/pest/pull/181
|
||||||
|
Patch0: pest_derive-1.0.1-fix-metadata.diff
|
||||||
|
|
||||||
|
ExclusiveArch: %{rust_arches}
|
||||||
|
|
||||||
|
BuildRequires: rust-packaging
|
||||||
|
# [dependencies]
|
||||||
|
BuildRequires: (crate(pest) >= 1.0.0 with crate(pest) < 2.0.0)
|
||||||
|
BuildRequires: (crate(quote) >= 0.3.0 with crate(quote) < 0.4.0)
|
||||||
|
BuildRequires: (crate(syn) >= 0.11.0 with crate(syn) < 0.12.0)
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Pest's derive macro.
|
||||||
|
|
||||||
|
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
|
||||||
|
%doc _README.md
|
||||||
|
%{cargo_registry}/%{crate}-%{version}/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Jan 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.1-1
|
||||||
|
- Initial package
|
Loading…
Reference in new issue