commit 5da04523d2bcb0a699dd325189eb29c774c8e69c
Author: Jan Rękorajski <[email protected]>
Date:   Sun Nov 22 19:56:06 2020 +0100

    - add missing __ln and __bash macros

 missing-macros.patch | 36 ++++++++++++++++++++++++++++++++++++
 rpm.spec             |  4 +++-
 2 files changed, 39 insertions(+), 1 deletion(-)
---
diff --git a/rpm.spec b/rpm.spec
index 3f3cf5f..b8da992 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -26,7 +26,7 @@ Summary(ru.UTF-8):    Менеджер пакетов от RPM
 Summary(uk.UTF-8):     Менеджер пакетів від RPM
 Name:          rpm
 Version:       4.16.0
-Release:       0.8
+Release:       0.9
 Epoch:         1
 License:       GPL v2 / LGPL v2.1
 Group:         Base
@@ -78,6 +78,7 @@ Patch24:      cpuinfo-deps.patch
 Patch25:       rpmio-read-proc-files.patch
 Patch26:       allow-at-in-ver-rel.patch
 Patch27:       no-exeonly-for-elf-reqprov.patch
+Patch28:       missing-macros.patch
 URL:           https://rpm.org/
 BuildRequires: acl-devel
 BuildRequires: db-devel >= %{db_ver}
@@ -571,6 +572,7 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML 
generowane ze
 %patch25 -p1
 %patch26 -p1
 %patch27 -p1
+%patch28 -p1
 
 install %{SOURCE15} scripts/perl.prov.in
 
diff --git a/missing-macros.patch b/missing-macros.patch
new file mode 100644
index 0000000..5b40254
--- /dev/null
+++ b/missing-macros.patch
@@ -0,0 +1,36 @@
+--- rpm-4.16.0/configure.ac~   2020-11-22 19:47:14.000000000 +0100
++++ rpm-4.16.0/configure.ac    2020-11-22 19:49:03.093877834 +0100
+@@ -76,6 +76,7 @@
+ dnl Find some common programs
+ dnl
+ AC_PATH_PROGS(__7ZIP, [7zip 7za 7z], /usr/bin/7za, $MYPATH)
++AC_PATH_PROG(__BASH, bash, /bin/bash, $MYPATH)
+ AC_PATH_PROG(__BZIP2, bzip2, /usr/bin/bzip2, $MYPATH)
+ AC_PATH_PROG(__CAT, cat, /bin/cat, $MYPATH)
+ AC_PATH_PROG(__CHGRP, chgrp, /bin/chgrp, $MYPATH)
+@@ -91,6 +92,7 @@
+ AC_PATH_PROG(__UNZIP, unzip, /usr/bin/unzip, $MYPATH)
+ AC_PATH_PROG(__ID, id, /usr/bin/id, $MYPATH)
+ AC_PATH_PROG(__INSTALL, install, /usr/bin/install, $MYPATH)
++AC_PATH_PROG(__LN, ln, /bin/ln, $MYPATH)
+ AC_PATH_PROG(__LRZIP, lrzip, /usr/bin/lrzip, $MYPATH)
+ AC_PATH_PROG(__LZIP, lzip, /usr/bin/lzip, $MYPATH)
+ AC_PATH_PROG(__XZ, xz, /usr/bin/xz, $MYPATH)
+--- rpm-4.16.0/macros.in~      2020-11-21 19:41:19.000000000 +0100
++++ rpm-4.16.0/macros.in       2020-11-22 19:45:24.182620411 +0100
+@@ -25,6 +25,7 @@
+ #
+ %__7zip                       @__7ZIP@
+ %__awk                        @AWK@
++%__bash                       @__BASH@
+ %__bzip2              @__BZIP2@
+ %__cat                        @__CAT@
+ %__chgrp              @__CHGRP@
+@@ -39,6 +40,7 @@
+ %__id                 @__ID@
+ %__id_u                       %{__id} -u
+ %__install            @__INSTALL@
++%__ln                 @__LN@
+ %__ln_s                       @LN_S@
+ %__lrzip              @__LRZIP@
+ %__lzip                       @__LZIP@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/5da04523d2bcb0a699dd325189eb29c774c8e69c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to