[packages/rpm/rpm.org] - drop lua hacks and look for default lua version - don't obsolete rpm-getdeps, this rpm does not su

baggins baggins at pld-linux.org
Sat Oct 24 16:12:35 CEST 2020


commit be07e71c8acd92e61d42ccb1c92200f92ed152c9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Oct 24 15:50:57 2020 +0200

    - drop lua hacks and look for default lua version
    - don't obsolete rpm-getdeps, this rpm does not support --specsrpm

 rpm-lua.patch | 11 -----------
 rpm.spec      |  6 +-----
 2 files changed, 1 insertion(+), 16 deletions(-)
---
diff --git a/rpm.spec b/rpm.spec
index 1280ac6..d9dd581 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -55,7 +55,6 @@ Patch1:		%{name}-popt-aliases.patch
 Patch2:		%{name}-perl-macros.patch
 Patch3:		%{name}-perl-req-perlfile.patch
 Patch4:		%{name}-scripts-closefds.patch
-Patch5:		%{name}-lua.patch
 Patch6:		%{name}-perl_req-INC_dirs.patch
 Patch7:		%{name}-debuginfo.patch
 Patch8:		%{name}-libtool-deps.patch
@@ -90,7 +89,7 @@ BuildRequires:	libselinux-devel >= 2.1.0
 # needed only for AM_PROG_CXX used for CXX substitution in rpm.macros
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 1:1.4.2-9
-BuildRequires:	lua53-devel >= 5.3.5
+BuildRequires:	lua-devel >= 5.1
 BuildRequires:	ossp-uuid-devel
 BuildRequires:	patch >= 2.2
 BuildRequires:	popt-devel >= %{popt_ver}
@@ -123,7 +122,6 @@ Recommends:	rpm-plugin-prioreset
 Recommends:	rpm-plugin-syslog
 Recommends:	rpm-plugin-systemd-inhibit
 %endif
-Obsoletes:	rpm-getdeps
 Obsoletes:	rpm-utils-perl
 Obsoletes:	rpm-utils-static
 Conflicts:	glibc < 2.2.92
@@ -541,7 +539,6 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 %patch6 -p0
 %patch7 -p1
 %patch8 -p1
@@ -584,7 +581,6 @@ sed -i \
 	-e 's|@host_os@|%{_target_os}|' \
 	macros.in
 
-CPPFLAGS="-I/usr/include/lua53 %{rpmcppflags}"
 %configure \
 	WITH_PERL_VERSION=no \
 	__GST_INSPECT=%{_bindir}/gst-inspect-1.0 \
diff --git a/rpm-lua.patch b/rpm-lua.patch
deleted file mode 100644
index 4e92e7b..0000000
--- a/rpm-lua.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- rpm-5.0.2/configure.ac~	2008-02-19 20:09:59.000000000 +0200
-+++ rpm-5.0.2/configure.ac	2008-02-19 20:21:41.000000000 +0200
-@@ -1042,7 +1042,7 @@
- 
- AS_IF([test "$with_lua" != no],[
-   PKG_CHECK_MODULES([LUA],
--    [lua >= 5.1],
-+    [lua5.3 >= 5.3],
-     [AC_DEFINE(WITH_LUA, 1, [Build with lua support?])],
-     [AC_MSG_ERROR([lua not present (--without-lua to disable)])])
-   AC_SUBST(LUA_CFLAGS)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/8a4b67ac38e1f15ece9844df5aa3f9fd2eb6dbdf



More information about the pld-cvs-commit mailing list