]> git.pld-linux.org Git - packages/python-zope.event.git/commitdiff
- rel 2; looks noarch to me auto/th/python-zope.event-4.4-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 5 Mar 2021 08:35:36 +0000 (09:35 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 5 Mar 2021 08:35:36 +0000 (09:35 +0100)
python-zope.event.spec

index f34af927990d47b90b7d94f3534f6864b4a3e491..36b248791cb4714154421d0051409969d65e3302 100644 (file)
@@ -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}
This page took 0.068466 seconds and 4 git commands to generate.