Unhide the zlib-rs and libz-rs-sys features

epel10 imports/epel10/rust-flate2-1.0.35-2.el10
Benjamin A. Beasley 3 months ago
parent 3c56dd9ae8
commit 9bfc71271d

@ -1,5 +1,5 @@
--- flate2-1.0.35/Cargo.toml 1970-01-01T00:00:01+00:00 --- 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 @@ @@ -237,7 +237,3 @@
"libz-rs-sys", "libz-rs-sys",
] ]

@ -89,6 +89,18 @@ use the "libz-ng-sys" feature of the "%{crate}" crate.
%files -n %{name}+libz-ng-sys-devel %files -n %{name}+libz-ng-sys-devel
%ghost %{crate_instdir}/Cargo.toml %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 %package -n %{name}+libz-sys-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -173,6 +185,18 @@ use the "zlib-ng" feature of the "%{crate}" crate.
%files -n %{name}+zlib-ng-devel %files -n %{name}+zlib-ng-devel
%ghost %{crate_instdir}/Cargo.toml %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 %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep

@ -2,8 +2,6 @@
hide = [ hide = [
"cloudflare-zlib-sys", "cloudflare-zlib-sys",
"cloudflare_zlib", "cloudflare_zlib",
"libz-rs-sys",
"zlib-rs",
"zlib-ng-compat", "zlib-ng-compat",
] ]

Loading…
Cancel
Save