From d6c1e6f015db8ff7650ecda6dfc965d5ba4b98af3ea71d7445ee6b3da0bef0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 21 Nov 2018 08:06:50 +0000 Subject: [PATCH] - Format with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlsec?expand=0&rev=2 --- python-xmlsec.changes | 5 +++++ python-xmlsec.spec | 20 +++++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) 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