|
|
@ -1,5 +1,9 @@
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-zope-event
|
|
|
|
Name: python-zope-event
|
|
|
|
Version: 3.5.2
|
|
|
|
Version: 4.0.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Zope Event Publication
|
|
|
|
Summary: Zope Event Publication
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
@ -24,6 +28,7 @@ zope.event can be found in zope.component.)
|
|
|
|
|
|
|
|
|
|
|
|
This package contains the version for Python 2.
|
|
|
|
This package contains the version for Python 2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%package -n python3-zope-event
|
|
|
|
%package -n python3-zope-event
|
|
|
|
Summary: Zope Event Publication (Python 3)
|
|
|
|
Summary: Zope Event Publication (Python 3)
|
|
|
|
|
|
|
|
|
|
|
@ -35,14 +40,25 @@ on which more sophisticated event dispatching systems can be built.
|
|
|
|
zope.event can be found in zope.component.)
|
|
|
|
zope.event can be found in zope.component.)
|
|
|
|
|
|
|
|
|
|
|
|
This package contains the version for Python 3.
|
|
|
|
This package contains the version for Python 3.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n zope.event-%{version}
|
|
|
|
%setup -q -n zope.event-%{version}
|
|
|
|
|
|
|
|
rm -rf %{modname}.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
|
|
|
|
cp -a . %{py3dir}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
%{__python3} setup.py build
|
|
|
|
%{__python3} setup.py build
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# build the sphinx documents
|
|
|
|
# build the sphinx documents
|
|
|
|
pushd docs
|
|
|
|
pushd docs
|
|
|
@ -52,12 +68,20 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
pushd %{py3dir}
|
|
|
|
|
|
|
|
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__python} setup.py test
|
|
|
|
%{__python} setup.py test
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
%{__python3} setup.py test
|
|
|
|
%{__python3} setup.py test
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
|
|
|
|
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
|
|
|
@ -68,6 +92,7 @@ popd
|
|
|
|
%{python_sitelib}/zope.event-*.egg-info
|
|
|
|
%{python_sitelib}/zope.event-*.egg-info
|
|
|
|
%{python_sitelib}/zope.event-*-nspkg.pth
|
|
|
|
%{python_sitelib}/zope.event-*-nspkg.pth
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%files -n python3-zope-event
|
|
|
|
%files -n python3-zope-event
|
|
|
|
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
|
|
|
|
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
|
|
|
|
%doc docs/_build/html/
|
|
|
|
%doc docs/_build/html/
|
|
|
@ -77,10 +102,13 @@ popd
|
|
|
|
%dir %{python3_sitelib}/zope/
|
|
|
|
%dir %{python3_sitelib}/zope/
|
|
|
|
%{python3_sitelib}/zope.event-*.egg-info
|
|
|
|
%{python3_sitelib}/zope.event-*.egg-info
|
|
|
|
%{python3_sitelib}/zope.event-*-nspkg.pth
|
|
|
|
%{python3_sitelib}/zope.event-*-nspkg.pth
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Ralph Bean <rbean@redhat.com> - 4.0.2-1
|
|
|
|
|
|
|
|
- Latest upstream.
|
|
|
|
|
|
|
|
- Conditionalized python3 subpackage for el6.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 18 2012 Robin Lee <cheeselee@fedoraproject.org> - 3.5.2-1
|
|
|
|
* Thu Oct 18 2012 Robin Lee <cheeselee@fedoraproject.org> - 3.5.2-1
|
|
|
|
- Update to 3.5.2 (ZTK 1.1.5)
|
|
|
|
- Update to 3.5.2 (ZTK 1.1.5)
|
|
|
|
|
|
|
|
|
|
|
|