forked from pool/python-repoze.sphinx.autointerface
Accepting request 655990 from devel:languages:python
- Fix fdupes call - Remove useless code for SLE11 - Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/request/show/655990 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-repoze.sphinx.autointerface?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 16 20:14:53 UTC 2017 - okurz@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,34 +12,26 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global modname repoze.sphinx.autointerface
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 0.8
|
||||
Release: 0
|
||||
Url: http://www.repoze.org
|
||||
Summary: Sphinx extension: auto-generates API docs from Zope interfaces
|
||||
License: SUSE-Repoze
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.io/packages/source/r/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
URL: http://www.repoze.org
|
||||
Source: https://files.pythonhosted.org/packages/source/r/repoze.sphinx.autointerface/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx
|
||||
Requires: python-zope.interface
|
||||
%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
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -55,11 +47,11 @@ zope.interface instances in code.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user