[packages/postgresql] don't try to compile python 2 modules (not shipped since 7.4 (2003))

atler atler at pld-linux.org
Sat Dec 16 12:38:11 CET 2023


commit fc681c609751490491952c8675fb4f37d24429a3
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Dec 16 01:57:50 2023 +0100

    don't try to compile python 2 modules (not shipped since 7.4 (2003))

 postgresql.spec | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/postgresql.spec b/postgresql.spec
index 5394d67..2664e79 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -900,11 +900,6 @@ install %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.target
 install -d howto
 tar zxf %{SOURCE2} -C howto
 
-%if %{with python}
-%py_comp $RPM_BUILD_ROOT%{py_libdir}
-%py_ocomp $RPM_BUILD_ROOT%{py_libdir}
-%endif
-
 # find locales
 for f in libpq5 pgscripts postgres psql initdb ecpg ecpglib6 \
 	plpgsql %{?with_perl:plperl} %{?with_python:plpython} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/postgresql.git/commitdiff/fc681c609751490491952c8675fb4f37d24429a3



More information about the pld-cvs-commit mailing list