From 0cb8e5549ecdd18c283efc0a9a9cd16f482a762cd84c38adfacac6111410bd9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Dec 2018 12:52:17 +0000 Subject: [PATCH] - Fix fdupes call - Do not explicitly state required devel version for python, useless here OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-djvulibre?expand=0&rev=35 --- python-djvulibre.changes | 6 ++++++ python-djvulibre.spec | 10 ++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/python-djvulibre.changes b/python-djvulibre.changes index eceb01b..51ab3c9 100644 --- a/python-djvulibre.changes +++ b/python-djvulibre.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 6 12:51:38 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call +- Do not explicitly state required devel version for python, useless here + ------------------------------------------------------------------- Wed Oct 17 20:57:59 UTC 2018 - lazy.kent@opensuse.org diff --git a/python-djvulibre.spec b/python-djvulibre.spec index 5bf76c2..f870f00 100644 --- a/python-djvulibre.spec +++ b/python-djvulibre.spec @@ -29,18 +29,16 @@ Source1: https://files.pythonhosted.org/packages/source/p/python-djvulibr Source2: %{name}.keyring BuildRequires: %{python_module Cython >= 0.19} BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module devel >= 2.6} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} +BuildRequires: djvulibre BuildRequires: fdupes BuildRequires: graphviz BuildRequires: graphviz-gnome BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(ddjvuapi) >= 3.5.21 -# Required for tests. -BuildRequires: %{python_module nose} -BuildRequires: djvulibre -# Requires: djvulibre >= 3.5.21 %python_subpackages @@ -72,7 +70,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %install %python_install rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check cd tests/