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 654475 Details for
Bug 740524
python-zope-component-4.0.1 is available
[?]
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]
Patch to update to latest zope-component and include a python3 subpackage.
0001-Update-to-latest-and-include-python3.patch (text/plain), 3.13 KB, created by
Ralph Bean
on 2012-11-29 18:34:27 UTC
(
hide
)
Description:
Patch to update to latest zope-component and include a python3 subpackage.
Filename:
MIME Type:
Creator:
Ralph Bean
Created:
2012-11-29 18:34:27 UTC
Size:
3.13 KB
patch
obsolete
>From 212a286dcaa7a094f6f0cd7bf39434fc8d3fa19f Mon Sep 17 00:00:00 2001 >From: Ralph Bean <rbean@redhat.com> >Date: Thu, 29 Nov 2012 13:33:46 -0500 >Subject: [PATCH] Update to latest and include python3. > >--- > python-zope-component.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 58 insertions(+), 2 deletions(-) > >diff --git a/python-zope-component.spec b/python-zope-component.spec >index 057b40f..4e40a18 100644 >--- a/python-zope-component.spec >+++ b/python-zope-component.spec >@@ -1,9 +1,13 @@ > %global modname zope.component > >+%if 0%{?fedora} > 12 || 0%{?rhel} > 6 >+%global with_python3 1 >+%endif >+ > Summary: Zope Component Architecture > Name: python-zope-component >-Version: 3.10.0 >-Release: 5%{?dist} >+Version: 4.0.1 >+Release: 1%{?dist} > Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz > License: ZPLv2.1 > Group: Development/Libraries >@@ -13,6 +17,12 @@ URL: http://pypi.python.org/pypi/zope.component > BuildRequires: python2-devel > BuildRequires: python-setuptools > BuildRequires: python-sphinx >+ >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+%endif >+ > # for tests > #BuildRequires: python-zope-testing > #BuildRequires: python-ZODB3 >@@ -31,10 +41,38 @@ This package represents the core of the Zope Component Architecture. > Together with the 'zope.interface' package, it provides facilities for > defining, registering and looking up components. > >+%if 0%{?with_python3} >+%package -n python3-zope-component >+Summary: Zope Component Architecture >+Group: Development/Libraries >+ >+Requires: python3-zope-interface >+Requires: python3-zope-event >+ >+%description -n python3-zope-component >+This package represents the core of the Zope Component Architecture. >+Together with the 'zope.interface' package, it provides facilities for >+defining, registering and looking up components. >+%endif >+ > %prep > %setup -q -n %{modname}-%{version} > >+rm -rf %{modname}.egg-info >+ >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -a . %{py3dir} >+%endif >+ >+ > %build >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif >+ > %{__python} setup.py build > > # build Sphinx documents >@@ -57,6 +95,12 @@ sphinx-build -b html src/zope/component/ html > rm -fr html/{.buildinfo,.doctrees} > > %install >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install --root=$RPM_BUILD_ROOT >+popd >+%endif >+ > %{__python} setup.py install --root=$RPM_BUILD_ROOT > > %files >@@ -68,8 +112,20 @@ rm -fr html/{.buildinfo,.doctrees} > %{python_sitelib}/%{modname}-*.egg-info > %{python_sitelib}/%{modname}-*-nspkg.pth > >+%files -n python3-zope-component >+%doc LICENSE.txt CHANGES.txt COPYRIGHT.txt README.txt >+%doc html/ >+%{python3_sitelib}/zope/component/ >+%exclude %{python3_sitelib}/zope/component/*.txt >+%{python3_sitelib}/%{modname}-*.egg-info >+%{python3_sitelib}/%{modname}-*-nspkg.pth >+ > > %changelog >+* Thu Nov 29 2012 Ralph Bean <rbean@redhat.com> - 4.0.1-1 >+- Updated to latest upstream. >+- Included python3 subpackage. >+ > * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.0-5 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild > >-- >1.8.0 >
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 740524
: 654475