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 936092 Details for
Bug 1140099
[PATCH] Introduce python3-posix_ipc 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.74 KB, created by
Nejc Saje
on 2014-09-10 09:57:04 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Nejc Saje
Created:
2014-09-10 09:57:04 UTC
Size:
2.74 KB
patch
obsolete
>From 3998820d4aba04d38f89f6da3b524fecbbb69b2c Mon Sep 17 00:00:00 2001 >From: Nejc Saje <nsaje@redhat.com> >Date: Tue, 9 Sep 2014 16:47:09 -0400 >Subject: [PATCH] Introduce python3- subpackage > >--- > python-posix_ipc.spec | 46 +++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 45 insertions(+), 1 deletion(-) > >diff --git a/python-posix_ipc.spec b/python-posix_ipc.spec >index b8090bc..27f5cc1 100644 >--- a/python-posix_ipc.spec >+++ b/python-posix_ipc.spec >@@ -1,8 +1,12 @@ > %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} > >+%if 0%{?fedora} >+%global with_python3 1 >+%endif >+ > Name: python-posix_ipc > Version: 0.9.8 >-Release: 3%{?dist} >+Release: 4%{?dist} > Summary: POSIX IPC primitives (semaphores and shared memory) for Python > Group: Development/Languages > License: BSD >@@ -18,20 +22,50 @@ manipulation of POSIX inter-process semaphores, shared memory and message > queues on platforms supporting POSIX Realtime Extensions, POSIX 1003.1b-1993. > > >+%if 0%{?with_python3} >+%package -n python3-posix_ipc >+Summary: POSIX IPC primitives (semaphores and shared memory) for Python >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+ >+%description -n python3-posix_ipc >+posix_ipc is a Python module (written in C) that permits creation and >+manipulation of POSIX inter-process semaphores, shared memory and message >+queues on platforms supporting POSIX Realtime Extensions, POSIX 1003.1b-1993. >+%endif >+ >+ > %prep > %setup -q -n posix_ipc-%{version} > chmod 644 demo/make_all.sh > chmod 644 demo2/cleanup.py > chmod 644 demo/cleanup.py > >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -a . %{py3dir} >+find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' >+%endif # with_python3 >+ > > %build > CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build >+%if 0%{?with_python3} >+pushd %{py3dir} >+CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build >+popd >+%endif > > > %install > %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT >+popd >+%endif >+ > > %clean > >@@ -41,8 +75,18 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build > %doc README LICENSE demo demo2 > %{python_sitearch}/* > >+%if 0%{?with_python3} >+%files -n python3-posix_ipc >+%defattr(-,root,root,-) >+%doc README LICENSE demo demo2 >+%{python3_sitearch}/* >+%endif >+ > > %changelog >+* Wed Sep 10 2014 Nejc Saje <nsaje@redhat.com> - 0.9.8-4 >+- Introduce python3- subpackage >+ > * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-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 1140099
: 936092