14
0
forked from pool/python-xmlsec
Tomáš Chvátal
2018-11-21 08:06:50 +00:00
committed by Git OBS Bridge
parent 62ee284ba9
commit d6c1e6f015
2 changed files with 16 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 21 08:06:32 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Format with spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 19 19:04:47 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Nov 19 19:04:47 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -12,30 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-xmlsec Name: python-xmlsec
Version: 1.3.3 Version: 1.3.3
Release: 0 Release: 0
License: MIT
Summary: Python bindings for the XML Security Library Summary: Python bindings for the XML Security Library
Url: https://github.com/mehcode/python-xmlsec License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/mehcode/python-xmlsec
Source: https://files.pythonhosted.org/packages/source/x/xmlsec/xmlsec-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/x/xmlsec/xmlsec-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module lxml >= 3.0} BuildRequires: %{python_module lxml >= 3.0}
BuildRequires: %{python_module pkgconfig}
BuildRequires: %{python_module lxml-devel} BuildRequires: %{python_module lxml-devel}
BuildRequires: libtool BuildRequires: %{python_module pkgconfig}
BuildRequires: pkgconfig(xmlsec1) BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(xmlsec1)
Requires: python-lxml >= 3.0 Requires: python-lxml >= 3.0
Requires: python-pkgconfig Requires: python-pkgconfig
%python_subpackages %python_subpackages
%description %description
@@ -51,6 +52,7 @@ export CFLAGS="%{optflags}"
%install %install
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
%python_exec setup.py test %python_exec setup.py test