Accepting request 504513 from home:okurz:matrix-synapse

Initial submission (alternative to sr#504292 to d:l:p:singlespec)

OBS-URL: https://build.opensuse.org/request/show/504513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=7
This commit is contained in:
Jan Matejek
2017-06-19 11:43:30 +00:00
committed by Git OBS Bridge
parent 4ea484076d
commit 9444b2203b
4 changed files with 35 additions and 15 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Jun 16 20:14:53 UTC 2017 - okurz@suse.com
- Update to 0.8
- Prevent duplicate files installed with fdupes
- Use https pypi.io URL for Factory submission
-------------------------------------------------------------------
Sat Mar 11 19:48:10 UTC 2017 - okurz@suse.com
- Convert package to singlespec
-------------------------------------------------------------------
Thu Oct 24 11:13:16 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-repoze.sphinx.autointerface
# spec file for package python
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -16,17 +16,22 @@
#
Name: python-repoze.sphinx.autointerface
Version: 0.7.1
%{?!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: http://pypi.python.org/packages/source/r/repoze.sphinx.autointerface/repoze.sphinx.autointerface-%{version}.tar.gz
Source: https://pypi.io/packages/source/r/%{modname}/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: %{python_module devel}
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
@@ -35,23 +40,26 @@ Requires: python-zope.interface
BuildArch: noarch
%endif
%python_subpackages
%description
Thie package defines an extension for the Sphinx documentation system. The
extension allows generation of API documentation by introspection of
zope.interface instances in code.
%prep
%setup -q -n repoze.sphinx.autointerface-%{version}
%setup -q -n %{modname}-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%fdupes %{buildroot}%{_prefix}
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
%{python_sitelib}/*
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97ef5fac0ab0a96f1578017f04aea448651fa9f063fc43393a8253bff8d8d504
size 7892

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ef0383276ab722efb1e4a6523726262058dfd82615ccf7e5004aee3fe8ecc23
size 8987