[packages/hamlib] - restored python2 python part (+BRs for py-compile)

qboosh qboosh at pld-linux.org
Sat Sep 6 18:04:37 CEST 2025


commit 871831b32efe65b379e7329adfa7447413932bd6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Sep 6 18:06:53 2025 +0200

    - restored python2 python part (+BRs for py-compile)

 hamlib.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/hamlib.spec b/hamlib.spec
index 01ed5c9..fd61ed7 100644
--- a/hamlib.spec
+++ b/hamlib.spec
@@ -22,7 +22,7 @@ Source0:	https://github.com/Hamlib/Hamlib/releases/download/%{version}/%{name}-%
 Patch0:		%{name}-perl_install.patch
 URL:		http://hamlib.org/
 BuildRequires:	autoconf >= 2.69
-BuildRequires:	automake
+BuildRequires:	automake >= 1:1.8
 BuildRequires:	boost-devel
 BuildRequires:	doxygen
 BuildRequires:	gd-devel
@@ -40,6 +40,7 @@ BuildRequires:	pkgconfig
 %{?with_python2:BuildRequires:	python-devel >= 2.1}
 %{?with_python3:BuildRequires:	python3-devel >= 1:3.2}
 BuildRequires:	readline-devel
+BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 2.043
 BuildRequires:	source-highlight
 %{?with_perl:BuildRequires:	swig-perl >= 3.0.12}
@@ -438,6 +439,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python-%{name}
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/_Hamlib.so
+%{py_sitedir}/Hamlib.py[co]
 %endif
 
 %if %{with python3}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hamlib.git/commitdiff/871831b32efe65b379e7329adfa7447413932bd6



More information about the pld-cvs-commit mailing list