Hello community,

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



--------
--- python-html2text/python-html2text.changes   2011-02-16 01:11:31.000000000 
+0100
+++ /mounts/work_src_done/STABLE/python-html2text/python-html2text.changes      
2011-09-21 11:30:47.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Sep 21 09:28:46 UTC 2011 - sasc...@suse.de
+
+- Update to version 3.02:
+  * Upstream provides no changes
+- BuildRequire more modern python-distribute instead of python-setuptools
+- Fixed non-executable script rpmlint warning
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  html2text-3.01.tar.bz2

New:
----
  html2text-3.02.tar.gz

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

Other differences:
------------------
++++++ python-html2text.spec ++++++
--- /var/tmp/diff_new_pack.83Bn9J/_old  2011-09-26 10:15:40.000000000 +0200
+++ /var/tmp/diff_new_pack.83Bn9J/_new  2011-09-26 10:15:40.000000000 +0200
@@ -11,59 +11,45 @@
 # 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/
 #
 
 
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
-%define mod_name html2text
-
-Name:           python-%{mod_name}
-Version:        3.01
-Release:        1
-License:        GNU GPL 3
-Summary:        Turn HTML into equivalent Markdown-structured text
+Name:           python-html2text
+Version:        3.02
+Release:        0
 Url:            http://www.aaronsw.com/2002/html2text/
+Summary:        Turn HTML into equivalent Markdown-structured text
+License:        GPL-3.0
 Group:          Development/Languages/Python
-Source:         %{mod_name}-%{version}.tar.bz2
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Source:         html2text-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-devel
+BuildRequires:  python-distribute
 %if 0%{?suse_version}
 %py_requires
-%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
+%if 0%{?suse_version} > 1110
 BuildArch:      noarch
 %endif
 %endif
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 %description
 Turn HTML into equivalent Markdown-structured text.
 
-Author:
--------
-    Aaron Swartz <m...@aaronsw.com>
-
 %prep
-%setup -n %{mod_name}-%{version}
+%setup -n html2text-%{version}
+sed -i "1d" html2text.py # Fix non-executable script
 
 %build
-export CFLAGS="%{optflags}"
 python setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} 
%{?suse_version: --record-rpm=INSTALLED_FILES}
-
-%clean
-rm -rf %{buildroot}
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%files %{?suse_version: -f INSTALLED_FILES}
+%files
 %defattr(-,root,root,-)
-%if 0%{!?suse_version:1}
-# You may have to add additional files here!
-%python_sitelib/%{mod_name}*
-%endif
+%python_sitelib/*
 
 %changelog


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



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