@ -1,4 +1,4 @@
# Generated by rust2rpm 25
# Generated by rust2rpm 26
%bcond_without check
%bcond_without check
%global debug_package %{nil}
%global debug_package %{nil}
@ -13,19 +13,17 @@ License: Apache-2.0
URL: https://crates.io/crates/libdeflate-sys
URL: https://crates.io/crates/libdeflate-sys
Source: %{crates_source}
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# Manually created patch for downstream crate metadata changes
# - Make the dependency on crate(pkg-config) non-optional instead of
# * Make the dependency on crate(pkg-config) non-optional instead of associating
# associating it with the “dynamic” feature, since we patch the crate to
# it with the “dynamic” feature, since we patch the crate to always link
# always link dynamically with the system libdeflate, regardless of the
# dynamically with the system libdeflate, regardless of the selected features.
# selected features.
Patch: libdeflate-sys-fix-metadata.diff
Patch: libdeflate-sys-fix-metadata.diff
# Downstream-only: always link dynamically with the system libdeflate,
# # * Downstream-only: always link dynamically with the system libdeflate,
# regardless of the selected features, and do not pin an exact version of
# # regardless of the selected features, and do not pin an exact version of
# libdeflate.
# # libdeflate. Together with libdeflate-sys-fix-metadata.diff, this effectively
#
# # reverts:
# Together with libdeflate-sys-fix-metadata.diff, this effectively reverts:
# # * Dynamic Linking Constraints
# Dynamic Linking Constraints
# # * https://github.com/adamkewley/libdeflater/pull/32
# https://github.com/adamkewley/libdeflater/pull/32
Patch10: libdeflate-sys-1.19.3-unconditional-pkg-config.patch
Patch: libdeflate-sys-1.19.3-unconditional-pkg-config.patch
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: cargo-rpm-macros >= 24