forked from pool/python-repoze.sphinx.autointerface
- 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:
committed by
Git OBS Bridge
parent
d89ff8ccfc
commit
b85ad60720
@@ -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>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user