[packages/python-zope.event] - rel 2; looks noarch to me

arekm arekm at pld-linux.org
Fri Mar 5 09:35:46 CET 2021


commit 7e49dd1caf3d3830d65b099ebf07cab6fe400c10
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Mar 5 09:35:36 2021 +0100

    - rel 2; looks noarch to me

 python-zope.event.spec | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/python-zope.event.spec b/python-zope.event.spec
index f34af92..36b2487 100644
--- a/python-zope.event.spec
+++ b/python-zope.event.spec
@@ -10,7 +10,7 @@ Summary:	Simple event system
 Summary(pl.UTF-8):	Prosty system zdarzeń
 Name:		python-%{module}
 Version:	4.4
-Release:	1
+Release:	2
 License:	ZPL v2.1
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/zope-event/
@@ -41,6 +41,7 @@ BuildRequires:	sphinx-pdg
 Requires:	python-modules >= 1:2.7
 Requires:	python-zope-base
 Obsoletes:	Zope-Event
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -125,14 +126,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
 %py_install \
-	--install-purelib=%{py_sitedir}
+	--install-purelib=%{py_sitescriptdir}
 
 %py_postclean
 %endif
 
 %if %{with python3}
 %py3_install \
-	--install-purelib=%{py3_sitedir}
+	--install-purelib=%{py3_sitescriptdir}
 %endif
 
 %clean
@@ -142,17 +143,17 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
-%{py_sitedir}/zope/event
-%{py_sitedir}/zope.event-%{version}-py*.egg-info
-%{py_sitedir}/zope.event-%{version}-py*-nspkg.pth
+%{py_sitescriptdir}/zope/event
+%{py_sitescriptdir}/zope.event-%{version}-py*.egg-info
+%{py_sitescriptdir}/zope.event-%{version}-py*-nspkg.pth
 %endif
 
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%{py3_sitedir}/zope/event
-%{py3_sitedir}/zope.event-%{version}-py*.egg-info
-%{py3_sitedir}/zope.event-%{version}-py*-nspkg.pth
+%{py3_sitescriptdir}/zope/event
+%{py3_sitescriptdir}/zope.event-%{version}-py*.egg-info
+%{py3_sitescriptdir}/zope.event-%{version}-py*-nspkg.pth
 %endif
 
 %if %{with doc}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.event.git/commitdiff/7e49dd1caf3d3830d65b099ebf07cab6fe400c10



More information about the pld-cvs-commit mailing list