diff --git a/flate2-fix-metadata-auto.diff b/flate2-fix-metadata-auto.diff index 0e15cce..877357f 100644 --- a/flate2-fix-metadata-auto.diff +++ b/flate2-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- flate2-1.0.28/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ flate2-1.0.28/Cargo.toml 2023-10-17T11:04:23.433000+00:00 ++++ flate2-1.0.28/Cargo.toml 2024-05-05T23:24:39.446043+00:00 @@ -105,7 +105,3 @@ "libz-sys/zlib-ng", ] diff --git a/rust-flate2.spec b/rust-flate2.spec index 664c3c8..43e4006 100644 --- a/rust-flate2.spec +++ b/rust-flate2.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -76,6 +76,18 @@ use the "any_zlib" feature of the "%{crate}" crate. %files -n %{name}+any_zlib-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+libz-ng-sys-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libz-ng-sys-devel %{_description} + +This package contains library source intended for building other packages which +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-sys-devel Summary: %{summary} BuildArch: noarch @@ -148,6 +160,18 @@ use the "zlib-default" feature of the "%{crate}" crate. %files -n %{name}+zlib-default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+zlib-ng-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zlib-ng-devel %{_description} + +This package contains library source intended for building other packages which +use the "zlib-ng" feature of the "%{crate}" crate. + +%files -n %{name}+zlib-ng-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep diff --git a/rust2rpm.toml b/rust2rpm.toml index 280f101..815a659 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,9 +1,7 @@ [features] hide = [ "cloudflare-zlib-sys", - "libz-ng-sys", "cloudflare_zlib", - "zlib-ng", "zlib-ng-compat", ]