From b85ad607205f13a5974398fd4a317180c164c3cf410d93d9cb5f942af9bc02ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 7 Dec 2018 10:15:39 +0000 Subject: [PATCH] - Fix fdupes call - Remove useless code for SLE11 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=11 --- python-repoze.sphinx.autointerface.changes | 6 ++++++ python-repoze.sphinx.autointerface.spec | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index 08848b2..d026dab 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 7 10:15:24 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call +- Remove useless code for SLE11 + ------------------------------------------------------------------- Tue Dec 4 12:53:39 UTC 2018 - Matej Cepl diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 4769d12..fa8d5b4 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -18,11 +18,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global modname repoze.sphinx.autointerface -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif Name: python-%{modname} Version: 0.8 Release: 0 @@ -36,6 +31,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx Requires: python-zope.interface +BuildArch: noarch %python_subpackages %description @@ -51,7 +47,7 @@ zope.interface instances in code. %install %python_install -%fdupes %{buildroot}%{_prefix} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE.txt