[packages/python-ipwhois] - make sure python3 scripts are installed, rel 6
baggins
baggins at pld-linux.org
Sun Apr 10 17:31:53 CEST 2022
commit d300b0e5a1f836f02f3baef9dd5ee2c7781e76b2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Apr 10 17:31:04 2022 +0200
- make sure python3 scripts are installed, rel 6
python-ipwhois.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-ipwhois.spec b/python-ipwhois.spec
index 71917d0..0d70a48 100644
--- a/python-ipwhois.spec
+++ b/python-ipwhois.spec
@@ -8,8 +8,8 @@
Summary: Retrieve and parse whois data for IPv4 and IPv6 addresses
Name: python-%{module}
Version: 1.2.0
-Release: 5
-License: - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Release: 6
+License: BSD-like
Group: Libraries/Python
Source0: https://pypi.debian.net/ipwhois/ipwhois-1.2.0.tar.gz
# Source0-md5: 29c322d1c812793a48378b738f6e9b04
@@ -62,6 +62,8 @@ rm -rf $RPM_BUILD_ROOT
%endif
%if %{with python3}
+# Remove python2 artefacts
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/*
%py3_install
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ipwhois.git/commitdiff/d300b0e5a1f836f02f3baef9dd5ee2c7781e76b2
More information about the pld-cvs-commit
mailing list