From 8193375fccc1c0434e7354b8698096f2dbba384c Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 22 Jun 2024 10:55:41 -0400 Subject: [PATCH] Stop hiding the zlib-ng feature --- rust-gix-features.spec | 12 ++++++++++++ rust2rpm.toml | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/rust-gix-features.spec b/rust-gix-features.spec index 6ee4674..346555a 100644 --- a/rust-gix-features.spec +++ b/rust-gix-features.spec @@ -263,6 +263,18 @@ use the "zlib" feature of the "%{crate}" crate. %files -n %{name}+zlib-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 + %package -n %{name}+zlib-rust-backend-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.toml b/rust2rpm.toml index 9301365..ec67b0a 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,5 +1,6 @@ [package] summary = "Integrate various capabilities using compile-time feature flags" [features] -# flate2/zlib-ng is not available in fedora -hide = ["zlib-ng", "zlib-ng-compat"] +# The flate2/zlib-ng-compat feature is hidden because not all releases have +# zlib-ng zlib-compat library; however, we can expose the zlib-ng feature. +hide = ["zlib-ng-compat"]