From: Jakub Bogusz Date: Sun, 4 Dec 2016 11:45:14 +0000 (+0100) Subject: - new URLs, updated to 0.95 X-Git-Tag: auto/th/python-html5lib-0.95-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4b8ba435b9b441c322e28c9a7b38568c007fb313;p=packages%2Fpython-html5lib.git - new URLs, updated to 0.95 --- diff --git a/python-html5lib.spec b/python-html5lib.spec index a50eedf..6ebfce3 100644 --- a/python-html5lib.spec +++ b/python-html5lib.spec @@ -1,17 +1,19 @@ +# TODO: python3 support since 0.99 %define module html5lib Summary: HTML parser/tokenizer based on the WHATWG HTML5 specification Summary(pl.UTF-8): Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5 Name: python-%{module} -Version: 0.90 -Release: 3 +Version: 0.95 +Release: 1 License: MIT Group: Libraries/Python -Source0: http://html5lib.googlecode.com/files/%{module}-%{version}.zip -# Source0-md5: 691e6b9ebe15b333a28280974b2ce432 -URL: http://code.google.com/p/html5lib/ +#Source0Download: https://github.com/html5lib/html5lib-python/releases +Source0: https://github.com/html5lib/html5lib-python/archive/%{version}/%{module}-%{version}.tar.gz +# Source0-md5: f240ce1af4402d0439cbf1ba26f5d93c +URL: https://github.com/html5lib/ BuildRequires: python-devel >= 1:2.5 BuildRequires: rpm-pythonprov -BuildRequires: rpmbuild(macros) >= 1.710 +BuildRequires: rpmbuild(macros) >= 1.714 BuildRequires: unzip %pyrequires_eq python-libs BuildArch: noarch @@ -24,13 +26,14 @@ HTML parser/tokenizer based on the WHATWG HTML5 specification. Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5. %prep -%setup -q -n %{module}-%{version} +%setup -q -n %{module}-python-%{version} %build %py_build %install rm -rf $RPM_BUILD_ROOT + %py_install %py_postclean