diff --git a/html2text-3.01.tar.bz2 b/html2text-3.01.tar.bz2
deleted file mode 100644
index 281e0a0..0000000
--- a/html2text-3.01.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e78f4a03b99d98b79f677727101b3196ef6d24707ae1c7d6eedfcc3142e9e845
-size 5179
diff --git a/html2text-3.02.tar.gz b/html2text-3.02.tar.gz
new file mode 100644
index 0000000..0912f4f
--- /dev/null
+++ b/html2text-3.02.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc7886dd64efc41edd08ad2a4149b3606fffb9569c2f82796728427fe27c90d1
+size 5376
diff --git a/python-html2text.changes b/python-html2text.changes
index 6583ff2..e9c290e 100644
--- a/python-html2text.changes
+++ b/python-html2text.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Wed Sep 21 09:28:46 UTC 2011 - saschpe@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
+
-------------------------------------------------------------------
Tue Feb 15 23:33:53 UTC 2011 - alexandre@exatati.com.br
diff --git a/python-html2text.spec b/python-html2text.spec
index 5a854f5..1cfaf6f 100644
--- a/python-html2text.spec
+++ b/python-html2text.spec
@@ -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
-
%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}
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%clean
-rm -rf %{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