[packages/resource-agents] - use python3 in build process
hawk
hawk at pld-linux.org
Thu Apr 25 21:51:16 CEST 2024
commit 07852aa9c00431172862151f006186e0f3274f02
Author: Marcin Krol <hawk at tld-linux.org>
Date: Thu Apr 25 19:41:24 2024 +0000
- use python3 in build process
resource-agents.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/resource-agents.spec b/resource-agents.spec
index 756f77d..ef66a18 100644
--- a/resource-agents.spec
+++ b/resource-agents.spec
@@ -26,7 +26,7 @@ BuildRequires: libxslt-progs
BuildRequires: openssl-tools
BuildRequires: perl-tools-pod
BuildRequires: pkgconfig >= 1:0.18
-BuildRequires: python-devel >= 1:2.7
+BuildRequires: python3-devel
BuildRequires: rpm-perlprov
BuildRequires: sed >= 4.0
BuildRequires: systemd-devel
@@ -100,7 +100,7 @@ CFLAGS="%{rpmcflags} -fno-strict-aliasing"
MAILCMD=/bin/mail \
MOUNT=/bin/mount \
PING=/bin/ping \
- PYTHON="%{__python}" \
+ PYTHON="%{__python3}" \
--docdir=%{_docdir}/%{name}-%{version} \
--enable-fatal-warnings \
--with-initdir=/etc/rc.d/init.d \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/resource-agents.git/commitdiff/07852aa9c00431172862151f006186e0f3274f02
More information about the pld-cvs-commit
mailing list