diff --git a/flate2-fix-metadata-auto.diff b/flate2-fix-metadata-auto.diff index ef9d9ee..019421b 100644 --- a/flate2-fix-metadata-auto.diff +++ b/flate2-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- flate2-1.0.35/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ flate2-1.0.35/Cargo.toml 2024-11-26T19:38:18.729504+00:00 ++++ flate2-1.0.35/Cargo.toml 2024-12-08T15:43:13.196459+00:00 @@ -237,7 +237,3 @@ "libz-rs-sys", ] diff --git a/rust-flate2.spec b/rust-flate2.spec index 8dbefef..9aea057 100644 --- a/rust-flate2.spec +++ b/rust-flate2.spec @@ -89,6 +89,18 @@ use the "libz-ng-sys" feature of the "%{crate}" crate. %files -n %{name}+libz-ng-sys-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+libz-rs-sys-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libz-rs-sys-devel %{_description} + +This package contains library source intended for building other packages which +use the "libz-rs-sys" feature of the "%{crate}" crate. + +%files -n %{name}+libz-rs-sys-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+libz-sys-devel Summary: %{summary} BuildArch: noarch @@ -173,6 +185,18 @@ use the "zlib-ng" feature of the "%{crate}" crate. %files -n %{name}+zlib-ng-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+zlib-rs-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zlib-rs-devel %{_description} + +This package contains library source intended for building other packages which +use the "zlib-rs" feature of the "%{crate}" crate. + +%files -n %{name}+zlib-rs-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/rust2rpm.toml b/rust2rpm.toml index a1e0623..815a659 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -2,8 +2,6 @@ hide = [ "cloudflare-zlib-sys", "cloudflare_zlib", - "libz-rs-sys", - "zlib-rs", "zlib-ng-compat", ]