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 936077 Details for
Bug 1140073
[PATCH] Introduce python3-msgpack subpackage
[?]
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
0001-Introduce-python3-subpackage.patch (text/plain), 2.69 KB, created by
Nejc Saje
on 2014-09-10 09:25:01 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Nejc Saje
Created:
2014-09-10 09:25:01 UTC
Size:
2.69 KB
patch
obsolete
>From 35c3a49839721879a6580897c6afe7522971393e Mon Sep 17 00:00:00 2001 >From: Nejc Saje <nsaje@redhat.com> >Date: Tue, 9 Sep 2014 15:22:57 -0400 >Subject: [PATCH] Introduce python3- subpackage > >--- > python-msgpack.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 51 insertions(+), 1 deletion(-) > >diff --git a/python-msgpack.spec b/python-msgpack.spec >index f1afa35..4a13443 100644 >--- a/python-msgpack.spec >+++ b/python-msgpack.spec >@@ -1,8 +1,12 @@ > %global srcname msgpack > >+%if 0%{?fedora} >+%global with_python3 1 >+%endif >+ > Name: python-%{srcname} > Version: 0.4.2 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: A Python MessagePack (de)serializer > > License: ASL 2.0 >@@ -15,6 +19,9 @@ BuildRequires: python-setuptools > # We don't want to provide private python extension libs > %{?filter_setup: > %filter_provides_in %{python2_sitearch}/.*\.so$ >+%if 0%{?with_python3} >+%filter_provides_in %{python3_sitearch}/.*\.so$ >+%endif > %filter_setup > } > >@@ -23,21 +30,64 @@ MessagePack is a binary-based efficient data interchange format that is > focused on high performance. It is like JSON, but very fast and small. > This is a Python (de)serializer for MessagePack. > >+%if 0%{?with_python3} >+%package -n python3-%{srcname} >+Summary: Higher level Python Zookeeper client >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+ >+%description -n python3-%{srcname} >+MessagePack is a binary-based efficient data interchange format that is >+focused on high performance. It is like JSON, but very fast and small. >+This is a Python (de)serializer for MessagePack. >+%endif >+ > %prep > %setup -q -n %{srcname}-python-%{version} > >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -a . %{py3dir} >+find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' >+%endif # with_python3 >+ >+ > %build > %{__python2} setup.py build > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif >+ >+ > %install > %{__python2} setup.py install --skip-build --root %{buildroot} > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install --skip-build --root %{buildroot} >+popd >+%endif >+ >+ > %files > %doc COPYING README.rst > %{python2_sitearch}/%{srcname}/ > %{python2_sitearch}/%{srcname}*.egg-info > >+%if 0%{?with_python3} >+%files -n python3-%{srcname} >+%doc COPYING README.rst >+%{python3_sitearch}/%{srcname}/ >+%{python3_sitearch}/%{srcname}*.egg-info >+%endif >+ > %changelog >+* Wed Sep 10 2014 Nejc Saje <nsaje@redhat.com> - 0.4.2-4 >+- Introduce python3- subpackage >+ > * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-3 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >-- >1.8.4.2 >
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 Raw
Actions:
View
Attachments on
bug 1140073
: 936077