- Remove python-zope-filesystem from requirements

- Own %%{python_sitelib}/zope/
- Spec cleaned up
epel8
Robin Lee 15 years ago
parent 1ee7100f7d
commit 4b268c8163

@ -1,23 +1,17 @@
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%endif
Name: python-zope-event Name: python-zope-event
Version: 3.5.0.1 Version: 3.5.0.1
Release: 2%{?dist} Release: 3%{?dist}
Summary: Zope Event Publication Summary: Zope Event Publication
Group: Development/Languages Group: Development/Languages
License: ZPLv2.1 License: ZPLv2.1
URL: http://pypi.python.org/pypi/zope.event/ URL: http://pypi.python.org/pypi/zope.event/
# Upstream accidentally used strange version # Upstream accidentally used strange version
Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-3.5.0-1.tar.gz Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-3.5.0-1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
BuildRequires: python-zope-testing BuildRequires: python-zope-testing
Requires: python-zope-filesystem
%description %description
@ -37,7 +31,6 @@ zope.event can be found in zope.component.)
%install %install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt
@ -46,19 +39,22 @@ rm -f $RPM_BUILD_ROOT%{python_sitelib}/zope/event/*.txt
%{__python} setup.py test %{__python} setup.py test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt
%doc src/zope/event/*.txt %doc src/zope/event/*.txt
%{python_sitelib}/zope/* %{python_sitelib}/zope/event/
%{python_sitelib}/zope.event* %dir {python_sitelib}/zope/
%{python_sitelib}/zope.event-*.egg-info
%{python_sitelib}/zope.event-*-nspkg.pth
%changelog %changelog
* Tue Aug 31 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.0.1-3
- Remove python-zope-filesystem from requirements
- Own %%{python_sitelib}/zope/
- Spec cleaned up
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.5.0.1-2 * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.5.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

Loading…
Cancel
Save