Hello community,

here is the log from the commit of package python-utidy for openSUSE:Factory 
checked in at 2015-08-05 06:50:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-utidy (Old)
 and      /work/SRC/openSUSE:Factory/.python-utidy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-utidy"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-utidy/python-utidy.changes        
2014-02-28 21:16:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-utidy.new/python-utidy.changes   
2015-08-05 06:50:09.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jul 13 13:12:38 UTC 2015 - toddrme2...@gmail.com
+
+- Use docdir instead of defaultdocdir
+  * Fixes building on SLES 11
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-utidy.spec ++++++
--- /var/tmp/diff_new_pack.wFJHUC/_old  2015-08-05 06:50:09.000000000 +0200
+++ /var/tmp/diff_new_pack.wFJHUC/_new  2015-08-05 06:50:09.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-utidy
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,8 +29,10 @@
 BuildRequires:  libtidy-devel
 BuildRequires:  python-devel
 BuildRequires:  unzip
-BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} && 0%{?suse_version} > 1110
+BuildArch:      noarch
+%endif
 
 %{py_requires}
 
@@ -41,7 +43,7 @@
 %package devel-doc
 Summary:        API docs for uTidylib
 Group:          Development/Libraries/Python
-Requires:       %{name} = %{version}
+Recommends:     %{name} = %{version}
 
 %description devel-doc
 The %{name}-devel-doc package contains the API documentation for developers.
@@ -58,22 +60,21 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 # move documentation files to datadir
-install -d -m 755 %{buildroot}%{_defaultdocdir}/%{name}
-mv %{buildroot}%{python_sitelib}/tidy/apidoc 
%{buildroot}%{_defaultdocdir}/%{name}
-rm -rf %{buildroot}%{python_sitelib}/tidy/apidoc
+rm -r apidoc
+mv %{buildroot}%{python_sitelib}/tidy/apidoc ./
 
 # create hardlinks
 %fdupes %{buildroot}
+%fdupes apidoc
 
 %files
 %defattr(-,root,root)
 %doc LICENSE README.path README.txt
-%exclude %{_defaultdocdir}/%{name}/apidoc
 %{python_sitelib}/tidy
 %{python_sitelib}/uTidylib-%{version}-py%{py_ver}.egg-info
 
 %files devel-doc
 %defattr(-,root,root)
-%doc %{_defaultdocdir}/%{name}/apidoc
+%doc apidoc
 
 %changelog



Reply via email to