From aca4e13db07e1b86a5977c25079f98fcd3d3dc6263c8b5573139e51d8dcc4a2c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 15 Dec 2022 16:17:00 +0000 Subject: [PATCH] - switch to pkgconfig(zlib) so that alternative providers can be used OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=259 --- python-magic.changes | 6 ++++++ python-magic.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-magic.changes b/python-magic.changes index 12fad9b..7d66fd6 100644 --- a/python-magic.changes +++ b/python-magic.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 12 08:58:58 UTC 2022 - Dirk Müller + +- switch to pkgconfig(zlib) so that alternative providers can be + used + ------------------------------------------------------------------- Wed Sep 14 09:00:26 UTC 2022 - Dr. Werner Fink diff --git a/python-magic.spec b/python-magic.spec index 63b634e..70d4bd0 100644 --- a/python-magic.spec +++ b/python-magic.spec @@ -32,7 +32,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: findutils BuildRequires: libtool BuildRequires: python-rpm-macros -BuildRequires: zlib-devel +BuildRequires: pkgconfig(zlib) Requires: libmagic1 Provides: python-file-magic = %{file_magic_version} %{expand:%(sed -n -e '/^Source0\?:/,/^BuildRoot:/p' <%{_sourcedir}/file.spec)}