diff --git a/python-xmlsec.changes b/python-xmlsec.changes index f5a22df..d3a1b84 100644 --- a/python-xmlsec.changes +++ b/python-xmlsec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 21 08:06:32 UTC 2018 - Tomáš Chvátal + +- Format with spec-cleaner + ------------------------------------------------------------------- Mon Nov 19 19:04:47 UTC 2018 - John Paul Adrian Glaubitz diff --git a/python-xmlsec.spec b/python-xmlsec.spec index 06a6a31..1979b20 100644 --- a/python-xmlsec.spec +++ b/python-xmlsec.spec @@ -12,30 +12,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xmlsec Version: 1.3.3 Release: 0 -License: MIT Summary: Python bindings for the XML Security Library -Url: https://github.com/mehcode/python-xmlsec +License: MIT Group: Development/Languages/Python +URL: https://github.com/mehcode/python-xmlsec Source: https://files.pythonhosted.org/packages/source/x/xmlsec/xmlsec-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module lxml >= 3.0} -BuildRequires: %{python_module pkgconfig} BuildRequires: %{python_module lxml-devel} -BuildRequires: libtool -BuildRequires: pkgconfig(xmlsec1) +BuildRequires: %{python_module pkgconfig} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(xmlsec1) Requires: python-lxml >= 3.0 Requires: python-pkgconfig - %python_subpackages %description @@ -51,6 +52,7 @@ export CFLAGS="%{optflags}" %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} + %check %python_exec setup.py test