diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3b12f3c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/peg-0.8.2.crate diff --git a/.rust-peg.metadata b/.rust-peg.metadata index e69de29..ba9d76e 100644 --- a/.rust-peg.metadata +++ b/.rust-peg.metadata @@ -0,0 +1 @@ +ae62848e4676e916da5f1b57f3d9934fd42d19ac SOURCES/peg-0.8.2.crate diff --git a/SOURCES/peg-0.8.1.crate b/SOURCES/peg-0.8.1.crate deleted file mode 100644 index f51ac4c..0000000 Binary files a/SOURCES/peg-0.8.1.crate and /dev/null differ diff --git a/SPECS/rust-peg.spec b/SPECS/rust-peg.spec index f82bd78..391ce5e 100644 --- a/SPECS/rust-peg.spec +++ b/SPECS/rust-peg.spec @@ -8,14 +8,14 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate peg Name: rust-peg -Version: 0.8.1 +Version: 0.8.2 Release: %autorelease Summary: Simple Parsing Expression Grammar (PEG) parser generator @@ -23,7 +23,7 @@ License: MIT URL: https://crates.io/crates/peg Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A simple Parsing Expression Grammar (PEG) parser generator.} @@ -56,6 +56,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %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}+trace-devel Summary: %{summary} BuildArch: noarch @@ -68,11 +80,21 @@ use the "trace" feature of the "%{crate}" crate. %files -n %{name}+trace-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+unstable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-devel +%ghost %{crate_instdir}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep -# drop test that fails harmlessly with Rust 1.69.0 and newer -rm tests/compile-fail/rust_action_type_error.{rs,stderr} %generate_buildrequires %cargo_generate_buildrequires @@ -89,9 +111,12 @@ rm tests/compile-fail/rust_action_type_error.{rs,stderr} %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.8.1-1 +* Mon Jan 15 2024 Arkady L. Shane - 0.8.2-1 - Rebuilt for MSVSphere 9.3 +* Sat Jan 13 2024 Fabio Valentini - 0.8.2-1 +- Update to version 0.8.2; Fixes RHBZ#2243159 + * Tue Sep 12 2023 Fabio Valentini - 0.8.1-1 - Update to version 0.8.1; Fixes RHBZ#1948227