Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 900707 Details for
Bug 1102858
Review Request: python-repoze-sphinx-autointerface - Auto-generate Sphinx API docs from Zope interfaces
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix and improve spec-file
improve_spec.patch (text/plain), 2.97 KB, created by
Björn 'besser82' Esser
on 2014-05-30 09:49:58 UTC
(
hide
)
Description:
fix and improve spec-file
Filename:
MIME Type:
Creator:
Björn 'besser82' Esser
Created:
2014-05-30 09:49:58 UTC
Size:
2.97 KB
patch
obsolete
>Index: 1102858-python-repoze-sphinx-autointerface/srpm-unpacked/python-repoze-sphinx-autointerface.spec >=================================================================== >--- 1102858-python-repoze-sphinx-autointerface.orig/srpm-unpacked/python-repoze-sphinx-autointerface.spec >+++ 1102858-python-repoze-sphinx-autointerface/srpm-unpacked/python-repoze-sphinx-autointerface.spec >@@ -1,5 +1,14 @@ >+%if 0%{?fedora} >= 12 || 0%{?rhel} >= 8 >+%global with_py3 1 >+%endif #0%{?fedora} >= 12 || 0%{?rhel} >= 8 >+ > %global pkgname repoze.sphinx.autointerface > >+%global common_desc \ >+This package defines an extension for the Sphinx documentation \ >+system. The extension allows generation of API documentation by \ >+introspection of zope.interface instances in code. >+ > Name: python-repoze-sphinx-autointerface > Version: 0.7.1 > Release: 1%{?dist} >@@ -15,65 +24,75 @@ BuildRequires: python-setuptools > BuildRequires: python-sphinx > BuildRequires: python-zope-interface > >-BuildRequires: python3-devel >-BuildRequires: python3-setuptools >-BuildRequires: python3-sphinx >-BuildRequires: python3-zope-interface >- > Requires: python-sphinx > Requires: python-zope-interface > > %description >-This package defines an extension for the Sphinx documentation system. >-The extension allows generation of API documentation by introspection of >-zope.interface instances in code. >+%{common_desc} > >+ >+%if 0%{?with_py3} > %package -n python3-repoze-sphinx-autointerface > Summary: Auto-generate Sphinx API docs from Zope interfaces >+ >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+BuildRequires: python3-sphinx >+BuildRequires: python3-zope-interface >+ > Requires: python3-sphinx > Requires: python3-zope-interface > > %description -n python3-repoze-sphinx-autointerface >-This package defines an extension for the Sphinx documentation system. >-The extension allows generation of API documentation by introspection of >-zope.interface instances in code. >+%{common_desc} >+%endif #0%{?with_py3} >+ > > %prep > %setup -q -n %{pkgname}-%{version} > >+%if 0%{?with_py3} > # Prepare for a python3 build > rm -rf %{py3dir} > cp -a . %{py3dir} >+%endif #0%{?with_py3} >+ > > %build > # Python 2 build > %{__python2} setup.py build > >+%if 0%{?with_py3} > # Python 3 build > pushd %{py3dir} > %{__python3} setup.py build > popd >+%endif #0%{?with_py3} >+ > > %install > # Python 2 install > %{__python2} setup.py install -O1 --skip-build --root %{buildroot} > >+%if 0%{?with_py3} > # Python 3 install > pushd %{py3dir} > %{__python3} setup.py install -O1 --skip-build --root %{buildroot} > popd >+%endif #0%{?with_py3} > >-%clean >-rm -fr %{py3dir} > > %files > %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt > %{python2_sitelib}/* > >+%if 0%{?with_py3} > %files -n python3-repoze-sphinx-autointerface > %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt > %{python3_sitelib}/* >+%endif #0%{?with_py3} >+ > > %changelog > * Thu May 29 2014 Jerry James <loganjerry@gmail.com> - 0.7.1-1 >-- Initial RPM >+- Initial RPM (#1102858)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1102858
: 900707