Hello community,

here is the log from the commit of package python-docutils for openSUSE:Factory
checked in at Mon Sep 26 10:14:16 CEST 2011.



--------
--- python-docutils/python-docutils.changes     2011-09-21 12:17:05.000000000 
+0200
+++ /mounts/work_src_done/STABLE/python-docutils/python-docutils.changes        
2011-09-23 12:21:18.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 23 10:19:38 UTC 2011 - sasc...@suse.de
+
+- Fixed build:
+  * python-xml is only required on SUSE
+  * pyxml is required on Fedora (and RHEL)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


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

Other differences:
------------------
++++++ python-docutils.spec ++++++
--- /var/tmp/diff_new_pack.4YEiMc/_old  2011-09-26 10:14:12.000000000 +0200
+++ /var/tmp/diff_new_pack.4YEiMc/_new  2011-09-26 10:14:12.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package docutils
+# spec file for package python-docutils
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -11,7 +11,7 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
@@ -27,8 +27,14 @@
 Source:         
http://downloads.sourceforge.net/project/docutils/docutils/0.8.1/docutils-0.8.1.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
+%if 0%{?suse_version}
 BuildRequires:  python-xml
 Requires:       python-xml
+%endif
+%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
+BuildRequires:  pyxml
+Requires:       pyxml
+%endif
 %if 0%{?suse_version}
 %py_requires
 %if 0%{?suse_version} > 1110
@@ -55,8 +61,9 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 for i in %{buildroot}%{_bindir}/rst*; do mv "$i" "${i/.py}"; done # Remove 
useless ".py" ending from executables
 
-%if ! 0%{?sles_version}
-# Tests break SLE builds
+# Tests break SLE and Mandriva builds
+%if ! 0%{?sles_version} && ! 0%{?mandriva_version}
+
 %check
 cd test && python alltests.py
 %endif


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



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to