- 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
This commit is contained in:
Tomáš Chvátal
2018-12-07 10:15:39 +00:00
committed by Git OBS Bridge
parent d89ff8ccfc
commit b85ad60720
2 changed files with 8 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Dec 7 10:15:24 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Fix fdupes call
- Remove useless code for SLE11
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:53:39 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:53:39 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -18,11 +18,6 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global modname repoze.sphinx.autointerface %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} Name: python-%{modname}
Version: 0.8 Version: 0.8
Release: 0 Release: 0
@@ -36,6 +31,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Sphinx Requires: python-Sphinx
Requires: python-zope.interface Requires: python-zope.interface
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -51,7 +47,7 @@ zope.interface instances in code.
%install %install
%python_install %python_install
%fdupes %{buildroot}%{_prefix} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt