diff --git a/python-html5lib.spec b/python-html5lib.spec
index 3f0ea78..05c17bf 100644
--- a/python-html5lib.spec
+++ b/python-html5lib.spec
@@ -1,6 +1,6 @@
Name: python-html5lib
Version: 0.999
-Release: 1mamba
+Release: 2mamba
Summary: HTML parser based on the HTML5 specifcation
Group: System/Libraries/Python
Vendor: openmamba
@@ -9,6 +9,8 @@ Packager: Stefano Cotta Ramusino
URL: https://github.com/html5lib/html5lib-python
Source: https://github.com/html5lib/html5lib-python.git/%{version}/html5lib-python-%{version}.tar.bz2
License: MIT
+## AUTOBUILDREQ-BEGIN
+## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
@@ -19,6 +21,10 @@ HTML parser based on the HTML5 specifcation.
%prep
%setup -q -n html5lib-python-%{version}
+%if "%{?with_pyver}"
+%pyver_package
+%endif
+
%build
%{__python} setup.py build
@@ -36,11 +42,13 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
-%files -f %{name}.filelist
+%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
-#%doc examples README
%changelog
+* Mon Jun 22 2015 Silvan Calarco 0.999-2mamba
+- rebuilt with -py3 package
+
* Sun Dec 29 2013 Automatic Build System 0.999-1mamba
- automatic version update by autodist