From 9444b2203bc723a1421766633d01291937e6d7d19735d2a86b4f19ae97b2930d Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Mon, 19 Jun 2017 11:43:30 +0000 Subject: [PATCH] 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 --- python-repoze.sphinx.autointerface.changes | 12 ++++++++ python-repoze.sphinx.autointerface.spec | 32 ++++++++++++++-------- repoze.sphinx.autointerface-0.7.1.tar.gz | 3 -- repoze.sphinx.autointerface-0.8.tar.gz | 3 ++ 4 files changed, 35 insertions(+), 15 deletions(-) delete mode 100644 repoze.sphinx.autointerface-0.7.1.tar.gz create mode 100644 repoze.sphinx.autointerface-0.8.tar.gz diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index 7a84c82..4401704 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -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 diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index dab299f..05b8dcd 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -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 diff --git a/repoze.sphinx.autointerface-0.7.1.tar.gz b/repoze.sphinx.autointerface-0.7.1.tar.gz deleted file mode 100644 index a6ac8d0..0000000 --- a/repoze.sphinx.autointerface-0.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:97ef5fac0ab0a96f1578017f04aea448651fa9f063fc43393a8253bff8d8d504 -size 7892 diff --git a/repoze.sphinx.autointerface-0.8.tar.gz b/repoze.sphinx.autointerface-0.8.tar.gz new file mode 100644 index 0000000..b586934 --- /dev/null +++ b/repoze.sphinx.autointerface-0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ef0383276ab722efb1e4a6523726262058dfd82615ccf7e5004aee3fe8ecc23 +size 8987