forked from pool/python-html5lib
Accepting request 204309 from home:TheBlackCat:branches:devel:languages:python
Update to 0.99 OBS-URL: https://build.opensuse.org/request/show/204309 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-html5lib
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 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
|
||||
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
Name: python-html5lib
|
||||
Version: 0.95
|
||||
Version: 0.99
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: HTML parser based on the WHAT-WG Web Applications 1
|
||||
@@ -24,7 +24,13 @@ Url: http://code.google.com/p/html5lib/
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/h/html5lib/html5lib-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-Genshi
|
||||
BuildRequires: python-lxml
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
Requires: python-six
|
||||
Recommends: python-Genshi
|
||||
Recommends: python-lxml
|
||||
#BuildRequires: python-nose
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
@@ -51,14 +57,14 @@ python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
rm -r %{buildroot}%{python_sitelib}/html5lib/tests # Don't ship tests
|
||||
|
||||
#%%check
|
||||
#nosetests
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{python_sitelib}/*
|
||||
%doc CHANGES.rst LICENSE README.rst
|
||||
%{python_sitelib}/html5lib/
|
||||
%{python_sitelib}/html5lib-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user