Update to version 2.3.0; Fixes RHBZ#2112464

epel9
Fabio Valentini 3 years ago
parent fe3ad6b0c7
commit bea42ad770
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -7,3 +7,4 @@
/pest_derive-1.0.8.crate /pest_derive-1.0.8.crate
/pest_derive-2.0.1.crate /pest_derive-2.0.1.crate
/pest_derive-2.1.0.crate /pest_derive-2.1.0.crate
/pest_derive-2.3.0.crate

@ -1,25 +1,22 @@
# Generated by rust2rpm 10 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate pest_derive %global crate pest_derive
Name: rust-%{crate} Name: rust-pest_derive
Version: 2.1.0 Version: 2.3.0
Release: %autorelease Release: %autorelease
Summary: Pest's derive macro Summary: Pest's derive macro
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/pest_derive URL: https://crates.io/crates/pest_derive
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Pest's derive macro.} Pest's derive macro.}
@ -32,13 +29,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license %{crate_instdir}/LICENSE-APACHE
%doc _README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version}/ %doc %{crate_instdir}/_README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -46,11 +44,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (pest_derive-2.1.0.crate) = 4d554921b35b6c2491f56b859d389e93459552807df6ff989f9913a9314171e5b6eba93cf7e03528973d6025b663cde7b841d38fabd8197c33beddafaf83fbba SHA512 (pest_derive-2.3.0.crate) = 0d3bb1e783cfbf5a3241c5db4306af3715d7b5467b6b9e20eb185fe9762af70f388cf0fb15b72c0079418e81f5456419351fb3dc656606fc9ee4a03dca11a918

Loading…
Cancel
Save