From c71e5c7c69dcd9791d7618e6a62950471e66ea776f714616fb41fafdc346da15 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 13:39:51 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=34 --- python-html5lib.changes | 5 +++++ python-html5lib.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-html5lib.changes b/python-html5lib.changes index 0020f2c..a162459 100644 --- a/python-html5lib.changes +++ b/python-html5lib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 13:39:22 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Fri Jul 19 12:28:28 UTC 2019 - Tomáš Chvátal diff --git a/python-html5lib.spec b/python-html5lib.spec index 9d9b951..1fecb88 100644 --- a/python-html5lib.spec +++ b/python-html5lib.spec @@ -22,16 +22,15 @@ Version: 1.0.1 Release: 0 Summary: HTML parser based on the WHAT-WG Web Applications 1 License: MIT -Group: Development/Languages/Python URL: https://github.com/html5lib/html5lib-python Source: https://files.pythonhosted.org/packages/source/h/html5lib/html5lib-%{version}.tar.gz BuildRequires: %{python_module Genshi} BuildRequires: %{python_module datrie} BuildRequires: %{python_module lxml} BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest-expect} # https://github.com/html5lib/html5lib-python/issues/411 BuildRequires: %{python_module pytest < 4.0} +BuildRequires: %{python_module pytest-expect} BuildRequires: %{python_module setuptools >= 18.5} BuildRequires: %{python_module six >= 1.9} BuildRequires: %{python_module webencodings} @@ -62,10 +61,10 @@ simple custom format %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand %python_exec %{_bindir}/py.test --tb=short +%python_expand %pytest --tb=short %files %{python_files} %license LICENSE