From ab1a9a63ee76289a5598eaaf243349e324e485ea71fa2962ad21fd5a30d5560c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 10 Jul 2020 10:11:54 +0000 Subject: [PATCH] - Convert few dependencies to their pkgconfig counterparts OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=13 --- python38.changes | 5 +++++ python38.spec | 22 +++++++++------------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/python38.changes b/python38.changes index c61153e..1cccfe8 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 10 10:11:39 UTC 2020 - Tomáš Chvátal + +- Convert few dependencies to their pkgconfig counterparts + ------------------------------------------------------------------- Fri Jul 10 10:08:48 UTC 2020 - Tomáš Chvátal diff --git a/python38.spec b/python38.spec index ccc3a6d..be30d99 100644 --- a/python38.spec +++ b/python38.spec @@ -162,21 +162,21 @@ Patch32: bpo40784-Fix-sqlite3-deterministic-test.patch BuildRequires: automake BuildRequires: fdupes BuildRequires: gmp-devel -BuildRequires: libbz2-devel -BuildRequires: libexpat-devel -BuildRequires: libffi-devel -BuildRequires: libuuid-devel BuildRequires: lzma-devel BuildRequires: netcfg BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: timezone BuildRequires: xz -BuildRequires: zlib-devel +BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(zlib) #!BuildIgnore: gdk-pixbuf-loader-rsvg %if 0%{?suse_version} >= 1500 -BuildRequires: libnsl-devel -BuildRequires: libtirpc-devel +BuildRequires: pkgconfig(libnsl) +BuildRequires: pkgconfig(libtirpc) %endif %if %{with doc} # Here we just run sphinx and we can use generic one, we don't need @@ -191,11 +191,11 @@ BuildRequires: appstream-glib BuildRequires: gcc-c++ BuildRequires: gdbm-devel BuildRequires: gettext -BuildRequires: ncurses-devel BuildRequires: readline-devel BuildRequires: sqlite-devel -BuildRequires: tk-devel BuildRequires: update-desktop-files +BuildRequires: pkgconfig(ncurses) +BuildRequires: pkgconfig(tk) BuildRequires: pkgconfig(x11) Requires: %{python_pkg_name}-base = %{version} Recommends: %{python_pkg_name}-curses @@ -205,10 +205,6 @@ Provides: python = %{python_version} %if %{primary_interpreter} Provides: python3 = %{python-version} %endif -%if 0%{?suse_version} >= 1500 -BuildRequires: libnsl-devel -BuildRequires: libtirpc-devel -%endif %endif %description