|
|
@ -1,13 +1,16 @@
|
|
|
|
|
|
|
|
%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()")}
|
|
|
|
%{!?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.4.1
|
|
|
|
Version: 3.5.0.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?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/
|
|
|
|
Source0: http://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz
|
|
|
|
# Upstream accidentally used strange version
|
|
|
|
|
|
|
|
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)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +29,7 @@ zope.event can be found in zope.component.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n zope.event-%{version}
|
|
|
|
%setup -q -n zope.event-3.5.0-1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -36,6 +39,7 @@ zope.event can be found in zope.component.)
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -48,12 +52,17 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README.txt
|
|
|
|
%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt
|
|
|
|
|
|
|
|
%doc src/zope/event/*.txt
|
|
|
|
%{python_sitelib}/zope/*
|
|
|
|
%{python_sitelib}/zope/*
|
|
|
|
%{python_sitelib}/zope.event*
|
|
|
|
%{python_sitelib}/zope.event*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 17 2010 Robin Lee <robinlee.sysu@gmail.com> - 3.5.0.1-1
|
|
|
|
|
|
|
|
- Update to 3.5.0-1
|
|
|
|
|
|
|
|
- Include more documents
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 5 2009 Conrad Meyer <konrad@tylerc.org> - 3.4.1-1
|
|
|
|
* Sun Jul 5 2009 Conrad Meyer <konrad@tylerc.org> - 3.4.1-1
|
|
|
|
- Add missing BR on python-setuptools.
|
|
|
|
- Add missing BR on python-setuptools.
|
|
|
|
- Enable testing stuff as zope-testing is in devel.
|
|
|
|
- Enable testing stuff as zope-testing is in devel.
|
|
|
|