Update to version 2.3.0; Fixes RHBZ#2112466

epel9
Fabio Valentini 3 years ago
parent 25a5dafb0c
commit 2d34c72c26
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/pest_generator-2.1.1.crate
/pest_generator-2.1.2.crate
/pest_generator-2.1.3.crate
/pest_generator-2.3.0.crate

@ -1,25 +1,22 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate pest_generator
Name: rust-%{crate}
Version: 2.1.3
Name: rust-pest_generator
Version: 2.3.0
Release: %autorelease
Summary: Pest code generator
# 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_generator
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Pest code generator.}
@ -32,13 +29,14 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc _README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/_README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,11 +44,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (pest_generator-2.1.3.crate) = 8be05ef3fd59dc4ccb7871388f8e3cb24cbc2f64eacf7a32fb887f1d8911b528ec545fe78bdd7beb03e2c04eb7fc0ad98ac9fce8579f95ea71cc280912f07c3b
SHA512 (pest_generator-2.3.0.crate) = 3d98d7276972988216373e398854d33d529f79c5d6912de2d3c40cd7688d287e3adffe31d48bd2e7cb501e256ad6ce7543fd26a1307919b8d4636fe45be3e817

Loading…
Cancel
Save