diff --git a/.gitignore b/.gitignore index a498d90..2819c12 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /peg-runtime-0.6.3.crate /peg-runtime-0.8.1.crate +/peg-runtime-0.8.2.crate diff --git a/rust-peg-runtime.spec b/rust-peg-runtime.spec index e39642d..059b94a 100644 --- a/rust-peg-runtime.spec +++ b/rust-peg-runtime.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate peg-runtime Name: rust-peg-runtime -Version: 0.8.1 +Version: 0.8.2 Release: %autorelease Summary: Runtime support for rust-peg grammars @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/peg-runtime Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Runtime support for rust-peg grammars. To use rust-peg, see the `peg` @@ -46,8 +46,32 @@ 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}+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 %generate_buildrequires diff --git a/sources b/sources index 0cef55b..3b176a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (peg-runtime-0.8.1.crate) = 360677e388c0d98053bf60d7ae003bafae38e892d4f30e5f31f6fe26f13e236aa1e0dfc7c4d741604b4df601a1cbee376b5a32078ec6b0abe0b2062ab0d136cc +SHA512 (peg-runtime-0.8.2.crate) = ffe337a7034dc0eea7165f05ea74c716eb2f85cbb3913b79f00d8bf50829197938704de8cc10cd0ace76782e0aff1c9dbd6cd48fe910c2e4d63452f92e6c294a