Hello community,

here is the log from the commit of package python-zope.event for 
openSUSE:Factory checked in at 2013-08-01 16:03:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.event (Old)
 and      /work/SRC/openSUSE:Factory/.python-zope.event.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zope.event"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zope.event/python-zope.event.changes      
2013-03-21 22:13:01.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-zope.event.new/python-zope.event.changes 
2013-08-01 16:03:09.000000000 +0200
@@ -1,0 +2,11 @@
+Tue Jul 30 10:45:21 UTC 2013 - [email protected]
+
+- spell out upstream URL in Source:
+
+-------------------------------------------------------------------
+Mon Jul 29 13:43:57 UTC 2013 - [email protected]
+
+- generate documantation in separate -doc package
+- replace bz2 tarball with original gz without trailing garbarge
+
+-------------------------------------------------------------------

Old:
----
  zope.event-4.0.2.tar.bz2

New:
----
  zope.event-4.0.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-zope.event.spec ++++++
--- /var/tmp/diff_new_pack.UQf8Gz/_old  2013-08-01 16:03:10.000000000 +0200
+++ /var/tmp/diff_new_pack.UQf8Gz/_new  2013-08-01 16:03:10.000000000 +0200
@@ -23,12 +23,12 @@
 License:        ZPL-2.1
 Group:          Development/Libraries/Python
 Url:            http://pypi.python.org/pypi/zope.event
-Source:         zope.event-%{version}.tar.bz2
+Source:         
https://pypi.python.org/packages/source/z/zope.event/zope.event-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-distribute
 # Documentation requirements:
-#BuildRequires:  python-Sphinx
+BuildRequires:  python-Sphinx
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else
@@ -44,14 +44,23 @@
 example, a type-based event dispatching system that builds on zope.event
 can be found in zope.component.
 
+%package doc
+Summary:        Very basic event publishing system
+Group:          Development/Languages/Python
+Requires:       %{name} = %{version}
+
+%description doc
+This package contains documentation files for %{name}.
 
 %prep
 %setup -q -n zope.event-%{version}
 
 %build
 python setup.py build
-# Doc build is self-referential, i.e. move to a seperate spec to require this 
one:
-#python setup.py build_sphinx
+# cannot give build/lib here, as pkg_resources.py needs the egg info and
+# raises DistributionNotFound for zope.event, hence build doc directly
+# from source in order to avoid the need for an external doc package
+PYTHONPATH=$(pwd)/src python setup.py build_sphinx && rm 
build/sphinx/html/.buildinfo
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -61,7 +70,11 @@
 
 %files
 %defattr(-,root,root)
-%doc COPYRIGHT.txt LICENSE.txt README.txt
+%doc CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt
 %{python_sitelib}/*
 
+%files doc
+%defattr(-,root,root,-)
+%doc build/sphinx/html/
+
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to