From 5e879c1610b8c81c87846a89ad480fbacaebb3ee Mon Sep 17 00:00:00 2001 From: Martin Kutlak Date: Oct 29 2019 10:18:05 +0000 Subject: Merge branch 'master' into epel8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..91e96e1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/xmlsec-1.3.3.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 648a120..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-xmlsec - -The python-xmlsec package \ No newline at end of file diff --git a/python-xmlsec.spec b/python-xmlsec.spec new file mode 100644 index 0000000..38f2928 --- /dev/null +++ b/python-xmlsec.spec @@ -0,0 +1,84 @@ +%global srcname xmlsec + +Name: python-%{srcname} +Version: 1.3.3 +Release: 7%{?dist} +Summary: Python bindings for the XML Security Library + +License: MIT +URL: https://pypi.python.org/pypi/%{srcname} +Source0: https://files.pythonhosted.org/packages/source/x/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: python3-devel +BuildRequires: libxml2-devel >= 2.9.1 +BuildRequires: xmlsec1-devel >= 1.2.18 +BuildRequires: libtool-ltdl-devel + + +%description +%{summary}. + + +%package -n python3-%{srcname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{srcname}} +BuildRequires: %{py3_dist lxml} +BuildRequires: %{py3_dist pkgconfig} +BuildRequires: %{py3_dist pytest} +Requires: libxml2 >= 2.9.1 +Requires: xmlsec1 >= 1.2.18 +Requires: xmlsec1-openssl +Requires: %{py3_dist lxml} +Requires: %{py3_dist pkgconfig} + + +%description -n python3-%{srcname} +%{summary}. + + +%prep +%autosetup -n %{srcname}-%{version} +rm -rf *.egg-info + + +%build +%py3_build + + +%install +%py3_install + + +# Tests aren't available + + +%files -n python3-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitearch}/xmlsec*.so +%{python3_sitearch}/xmlsec-%{version}-*.egg-info + + +%changelog +* Mon Aug 19 2019 Miro Hrončok - 1.3.3-7 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.3.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1.3.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 1.3.3-4 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Jul 14 2018 Fedora Release Engineering - 1.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.3.3-2 +- Rebuilt for Python 3.7 + +* Thu Jan 25 2018 Jeremy Cline - 1.3.3-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..949e360 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xmlsec-1.3.3.tar.gz) = 6e842c455f249323f600297dd50ce835939e93eb4f2e1622fdea9903ab6a1b5dc5352d615cc7fd23624a922782ea40d9ee0f2c0302f5e06fc06c25f84e24759f