diff --git a/.gitignore b/.gitignore index e6b5a0c..b770808 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /procfs-0.9.0.crate /procfs-0.9.1.crate /procfs-0.12.0.crate +/procfs-0.14.2.crate diff --git a/rust-procfs.spec b/rust-procfs.spec index dc21172..b4a6993 100644 --- a/rust-procfs.spec +++ b/rust-procfs.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 # * missing dev-dependency: procinfo (depends on outdated nom 2) %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate procfs Name: rust-procfs -Version: 0.12.0 +Version: 0.14.2 Release: %autorelease Summary: Interface to the linux procfs pseudo-filesystem @@ -14,8 +14,6 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/procfs Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -88,6 +86,30 @@ use the "flate2" feature of the "%{crate}" crate. %files -n %{name}+flate2-devel %ghost %{crate_instdir}/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 the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde1-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde1" feature of the "%{crate}" crate. + +%files -n %{name}+serde1-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 2da3a28..1d95852 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (procfs-0.12.0.crate) = 48bdd24c0514dd9a4a16be492085d9b6be41b81333b5dfc99cf0f04e337a532dee5d50b4317ae450f396924364f00b01fcd3b63e655ad50e53eb222f29a90499 +SHA512 (procfs-0.14.2.crate) = 70473fd8c6309507cf3451ed13d014b03e3bbc77bf50425849788e93cbe1082ed74780315a11f84def39f4dabf165df09a6faeaf9ebc14e2ecd57876c61de4c3