Update to version 2.3.0; Fixes RHBZ#2112463

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

1
.gitignore vendored

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

@ -1,25 +1,22 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate pest %global crate pest
Name: rust-%{crate} Name: rust-pest
Version: 2.1.3 Version: 2.3.0
Release: %autorelease Release: %autorelease
Summary: Elegant Parser Summary: Elegant Parser
# 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 URL: https://crates.io/crates/pest
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:
Elegant Parser.} Elegant Parser.}
@ -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_no_tilde}/ %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_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+const_prec_climber-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+const_prec_climber-devel %{_description}
This package contains library source intended for building other packages which
use the "const_prec_climber" feature of the "%{crate}" crate.
%files -n %{name}+const_prec_climber-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pretty-print-devel %package -n %{name}+pretty-print-devel
Summary: %{summary} Summary: %{summary}
@ -58,11 +68,11 @@ BuildArch: noarch
%description -n %{name}+pretty-print-devel %{_description} %description -n %{name}+pretty-print-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 "pretty-print" feature of "%{crate}" crate. use the "pretty-print" feature of the "%{crate}" crate.
%files -n %{name}+pretty-print-devel %files -n %{name}+pretty-print-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -70,11 +80,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-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 "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde_json-devel %package -n %{name}+serde_json-devel
Summary: %{summary} Summary: %{summary}
@ -82,11 +92,35 @@ BuildArch: noarch
%description -n %{name}+serde_json-devel %{_description} %description -n %{name}+serde_json-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 "serde_json" feature of "%{crate}" crate. use the "serde_json" feature of the "%{crate}" crate.
%files -n %{name}+serde_json-devel %files -n %{name}+serde_json-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
%package -n %{name}+thiserror-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+thiserror-devel %{_description}
This package contains library source intended for building other packages which
use the "thiserror" feature of the "%{crate}" crate.
%files -n %{name}+thiserror-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-2.1.3.crate) = 08a36d4571cc0e912ae87e1f2116424b3d4139b653dd9a446fec8ff39cd9a691e8305c86cf75d227b5349197ada4ce79912ac25f0726b98a0642981ac4673c83 SHA512 (pest-2.3.0.crate) = a38432aac48bbcf541e4b7e9b678e4087bbd56a1acf759ac49601e2dd997bd5ab0663b245ca9e017a7c02030b61b8ed1ab9c469049833d18db6c5ea8d8cb814f

Loading…
Cancel
Save