[packages/python-backports-ssl_match_hostname] - backports namespace compiled __init__ moved to python-backports.spec; release 3

qboosh qboosh at pld-linux.org
Fri Dec 12 18:04:14 CET 2025


commit 45cbc9a5ba4216f604fee2b0cee8754035325072
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Dec 12 18:04:32 2025 +0100

    - backports namespace compiled __init__ moved to python-backports.spec; release 3

 python-backports-ssl_match_hostname.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/python-backports-ssl_match_hostname.spec b/python-backports-ssl_match_hostname.spec
index 9237889..cd23ebd 100644
--- a/python-backports-ssl_match_hostname.spec
+++ b/python-backports-ssl_match_hostname.spec
@@ -3,7 +3,7 @@ Summary:	The ssl.match_hostname() function from Python 3
 Summary(pl.UTF-8):	Funkcja ssl.match_hostname() z Pythona 3
 Name:		python-backports-ssl_match_hostname
 Version:	3.7.0.1
-Release:	2
+Release:	3
 License:	PSF v2
 Group:		Libraries/Python
 # Source0Download: https://pypi.python.org/simple/backports.ssl-match-hostname/
@@ -13,7 +13,7 @@ URL:		https://bitbucket.org/brandon/backports.ssl_match_hostname
 BuildRequires:	python-modules >= 1:2.5
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-backports
+Requires:	python-backports >= 1.0-9
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,12 +62,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %py_postclean
 
+# belongs to python-backports
+%{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/backports/__init__.py*
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README.txt LICENSE.txt
-%{py_sitescriptdir}/backports/__init__.py[co]
 %{py_sitescriptdir}/backports/ssl_match_hostname
 %{py_sitescriptdir}/backports.ssl_match_hostname-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-backports-ssl_match_hostname.git/commitdiff/45cbc9a5ba4216f604fee2b0cee8754035325072



More information about the pld-cvs-commit mailing list