diff --git a/html2text-3.02.tar.gz b/html2text-3.02.tar.gz
deleted file mode 100644
index 0912f4f..0000000
--- a/html2text-3.02.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cc7886dd64efc41edd08ad2a4149b3606fffb9569c2f82796728427fe27c90d1
-size 5376
diff --git a/html2text-3.101.tar.bz2 b/html2text-3.101.tar.bz2
new file mode 100644
index 0000000..194997b
--- /dev/null
+++ b/html2text-3.101.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1684fdfe3c690f72a6be8049b8c4e36763fd9211651711a86746ae18385b9ac5
+size 7756
diff --git a/python-html2text.changes b/python-html2text.changes
index e9c290e..aa188bb 100644
--- a/python-html2text.changes
+++ b/python-html2text.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Wed Nov 9 18:02:15 UTC 2011 - alexandre@exatati.com.br
+
+- Update to 3.101:
+ - Sorry, no changelog atm.
+- Regenerate spec file with py2pack;
+- Bzip2 source code.
+
-------------------------------------------------------------------
Wed Sep 21 09:28:46 UTC 2011 - saschpe@suse.de
@@ -7,6 +15,7 @@ Wed Sep 21 09:28:46 UTC 2011 - saschpe@suse.de
- Fixed non-executable script rpmlint warning
-------------------------------------------------------------------
+
Tue Feb 15 23:33:53 UTC 2011 - alexandre@exatati.com.br
- Update to 3.01.
diff --git a/python-html2text.spec b/python-html2text.spec
index 1cfaf6f..eebc235 100644
--- a/python-html2text.spec
+++ b/python-html2text.spec
@@ -15,15 +15,17 @@
# 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)")}
Name: python-html2text
-Version: 3.02
+Version: 3.101
Release: 0
Url: http://www.aaronsw.com/2002/html2text/
Summary: Turn HTML into equivalent Markdown-structured text
-License: GPL-3.0
+License: GNU GPL 3
Group: Development/Languages/Python
-Source: html2text-%{version}.tar.gz
+Source: html2text-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
@@ -34,22 +36,22 @@ BuildArch: noarch
%endif
%endif
%{!?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)")}
%description
Turn HTML into equivalent Markdown-structured text.
%prep
-%setup -n html2text-%{version}
-sed -i "1d" html2text.py # Fix non-executable script
+%setup -q -n html2text-%{version}
%build
-python setup.py build
+CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
-%python_sitelib/*
+%{python_sitelib}/*
%changelog