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

@@ -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