Update to version 2.3.0; Fixes RHBZ#2112465

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

1
.gitignore vendored

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

@ -1,12 +0,0 @@
--- pest_meta-2.1.3/Cargo.toml 2020-02-22T14:36:59+00:00
+++ pest_meta-2.1.3/Cargo.toml 2020-02-23T09:29:41.881314+00:00
@@ -29,9 +29,6 @@
[dependencies.pest]
version = "2.1.0"
-[build-dependencies.sha-1]
-version = "0.8"
-default-features = false
[badges.codecov]
repository = "pest-parser/pest"

@ -1,28 +1,23 @@
# Generated by rust2rpm 13
%bcond_without check
# Generated by rust2rpm 22
# * test grammars are not included in published crates
%bcond_with check
%global debug_package %{nil}
%global crate pest_meta
Name: rust-%{crate}
Version: 2.1.3
Name: rust-pest_meta
Version: 2.3.0
Release: %autorelease
Summary: Pest meta language parser and validator
# 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_meta
Source: %{crates_source}
# Initial patched metadata
# * Remove sha-1 build-dep because build.rs is not shipped
Patch0: pest_meta-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Pest meta language parser and validator.}
@ -35,13 +30,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-APACHE LICENSE-MIT
%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}
@ -49,11 +45,11 @@ 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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (pest_meta-2.1.3.crate) = f31492b452b58c632c0c5c3e357ba2b41ae2b5816d0ec432c1a281dfc681c5b5c2ab4f194c1049938e671ac232d85667aab91323e986df4edf6093a4e2d47ac3
SHA512 (pest_meta-2.3.0.crate) = e2c3a1af887e7ec7b72eb6ee9bd925aa667cb7d08754613281205d5a52f2c4f49d40f414c97bdee6e198efb9034e2e4d7be41b1cf1da09065b7a0c512f78edb7

Loading…
Cancel
Save