diff --git a/.gitignore b/.gitignore index 2888ce7..bbd64dc 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /pest-1.0.6.crate /pest-2.0.2.crate /pest-2.1.0.crate +/pest-2.1.1.crate diff --git a/rust-pest.spec b/rust-pest.spec index f540fd9..8595b78 100644 --- a/rust-pest.spec +++ b/rust-pest.spec @@ -5,14 +5,14 @@ %global crate pest Name: rust-%{crate} -Version: 2.1.0 -Release: 2%{?dist} +Version: 2.1.1 +Release: 1%{?dist} Summary: Elegant Parser # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/pest -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} @@ -50,8 +50,44 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+pretty-print-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pretty-print-devel %{_description} + +This package contains library source intended for building other packages +which use "pretty-print" feature of "%{crate}" crate. + +%files -n %{name}+pretty-print-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages +which use "serde" feature of "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+serde_json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_json-devel %{_description} + +This package contains library source intended for building other packages +which use "serde_json" feature of "%{crate}" crate. + +%files -n %{name}+serde_json-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -66,6 +102,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Apr 15 2019 Josh Stone - 2.1.1-1 +- Update to 2.1.1 + * Sat Feb 02 2019 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index b18f6e6..bca316d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pest-2.1.0.crate) = 20db99ac41e9543cae439a473869880f089d172a2ab335d9fc7daee5ba170eec06eb55c74eb5532c14712c5bb0562642f1e28fb8cb05c1e0e1addf6930256a68 +SHA512 (pest-2.1.1.crate) = 44573f10494b8710abbabce9ded07f2b33fb7791d607229133b8005395cb164e9a2702f621c3e8d35f9747de5bf4746dfdacde4960ec1bf8e0f0d6b0acc4f49b