From 45f8a1059dae46b23b58d6377b1a565f275c7da8 Mon Sep 17 00:00:00 2001 From: Martin Kutlak Date: Jun 01 2020 15:40:24 +0000 Subject: Update to upstream release 1.3.8 Signed-off-by: Martin Kutlak --- diff --git a/.gitignore b/.gitignore index 91e96e1..909943e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /xmlsec-1.3.3.tar.gz +/xmlsec-1.3.8.tar.gz diff --git a/python-xmlsec.spec b/python-xmlsec.spec index 66c24ab..08b9c2e 100644 --- a/python-xmlsec.spec +++ b/python-xmlsec.spec @@ -1,8 +1,8 @@ %global srcname xmlsec Name: python-%{srcname} -Version: 1.3.3 -Release: 10%{?dist} +Version: 1.3.8 +Release: 1%{?dist} Summary: Python bindings for the XML Security Library License: MIT @@ -10,12 +10,11 @@ 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: pyproject-rpm-macros BuildRequires: libxml2-devel >= 2.9.1 BuildRequires: xmlsec1-devel >= 1.2.18 BuildRequires: libtool-ltdl-devel - %description %{summary}. @@ -23,9 +22,6 @@ BuildRequires: libtool-ltdl-devel %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 @@ -38,29 +34,32 @@ Requires: %{py3_dist lxml} %prep %autosetup -n %{srcname}-%{version} -sed -i /pkgconfig/d requirements.txt -rm -rf *.egg-info +%generate_buildrequires +%pyproject_buildrequires -t + %build -%py3_build +%pyproject_wheel %install -%py3_install - - -# Tests aren't available +%pyproject_install %files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitearch}/xmlsec*.so -%{python3_sitearch}/xmlsec-%{version}-*.egg-info +%{python3_sitearch}/%{srcname}/ +%{python3_sitearch}/%{srcname}-%{version}.dist-info/ %changelog +* Mon Jun 1 2020 Martin Kutlak - 1.3.8-1 +- Update spec file +- Update to 1.3.8 (#1838368) + * Tue May 26 2020 Miro HronĨok - 1.3.3-10 - Rebuilt for Python 3.9 diff --git a/sources b/sources index 949e360..5c55df5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xmlsec-1.3.3.tar.gz) = 6e842c455f249323f600297dd50ce835939e93eb4f2e1622fdea9903ab6a1b5dc5352d615cc7fd23624a922782ea40d9ee0f2c0302f5e06fc06c25f84e24759f +SHA512 (xmlsec-1.3.8.tar.gz) = a7f51177be882f57488580e1208b24d12cd6c884170189c1c11ad119e155417da6fb8465afd54fb1971c65ed5b9f69d053b378ea5f84e9f4432328377faff2e1