From aa5937a9f0da69c896202d66868ad175ca0acfb7988944fac44aa7e2afe6aae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 4 Mar 2019 13:23:33 +0000 Subject: [PATCH] - Switch to pkgconfig style dependency tests to run with an external library, and test-once.patch to avoid OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=2 --- python-zstd.changes | 7 ++++++- python-zstd.spec | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-zstd.changes b/python-zstd.changes index 15f9efa..5f91da0 100644 --- a/python-zstd.changes +++ b/python-zstd.changes @@ -1,6 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 4 13:22:52 UTC 2019 - Tomáš Chvátal + +- Switch to pkgconfig style dependency + ------------------------------------------------------------------- Mon Mar 4 10:10:45 AM UTC 2019 - John Vandenberg - Initial spec for v1.3.8.1, adding test-external.patch to allow - tests to run with an external library, and test-once to avoid + tests to run with an external library, and test-once.patch to avoid custom hack to run tests which actually runs them twice. diff --git a/python-zstd.spec b/python-zstd.spec index 6124b93..ed1e4b7 100644 --- a/python-zstd.spec +++ b/python-zstd.spec @@ -30,9 +30,10 @@ Patch0: test-external.patch Patch1: test-once.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: libzstd-devel >= 1.3.8 BuildRequires: fdupes +BuildRequires: pkgconfig BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(libzstd) >= 1.3.8 %python_subpackages %description