]> TLD Linux GIT Repositories - packages/rpm.git/commitdiff
- PLD merge, set build-id links to alldebug
authorMarcin Krol <hawk@tld-linux.org>
Mon, 7 Dec 2020 20:14:36 +0000 (21:14 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 7 Dec 2020 20:14:36 +0000 (21:14 +0100)
build-id-links.patch [new file with mode: 0644]
default-patch-flags.patch [new file with mode: 0644]
rpm.spec

diff --git a/build-id-links.patch b/build-id-links.patch
new file mode 100644 (file)
index 0000000..09afc1c
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur rpm-4.16.0.orig/macros.in rpm-4.16.0/macros.in
+--- rpm-4.16.0.orig/macros.in  2020-09-30 09:48:01.000000000 +0200
++++ rpm-4.16.0/macros.in       2020-12-07 19:05:51.824516320 +0100
+@@ -531,7 +531,7 @@
+ #   Same as for "separate" but if the __debug_package global is set then
+ #   the -debuginfo package will have a compatibility link for the main
+ #   ELF /usr/lib/debug/.build-id/xx/yyy -> /usr/lib/.build-id/xx/yyy
+-%_build_id_links compat
++%_build_id_links alldebug
+ # Whether build-ids should be made unique between package version/releases
+ # when generating debuginfo packages. If set to 1 this will pass
diff --git a/default-patch-flags.patch b/default-patch-flags.patch
new file mode 100644 (file)
index 0000000..df4b8a8
--- /dev/null
@@ -0,0 +1,12 @@
+--- rpm-4.16.0/macros.in~      2020-11-22 20:06:30.000000000 +0100
++++ rpm-4.16.0/macros.in       2020-12-04 23:07:19.298019290 +0100
+@@ -419,8 +419,7 @@
+ %_default_patch_fuzz  0
+ #     Default patch flags
+-#%_default_patch_flags        -s
+-%_default_patch_flags --no-backup-if-mismatch
++%_default_patch_flags -s
+ #==============================================================================
+ # ---- Build configuration macros.
index 59da342dac3f298b5d2527150ae12f95401a0ed9..6a5da8fdddc218e07666ecc1e47f6b54916067ef 100644 (file)
--- 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.9
+Release:       0.10
 Epoch:         1
 License:       GPL v2 / LGPL v2.1
 Group:         Base
@@ -76,6 +76,8 @@ 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:       default-patch-flags.patch
+Patch100:      build-id-links.patch
 URL:           https://rpm.org/
 BuildRequires: acl-devel
 BuildRequires: db-devel >= %{db_ver}
@@ -569,6 +571,8 @@ Dokumentacja API RPM-a oraz przewodniki w formacie HTML generowane ze
 %patch25 -p1
 %patch26 -p1
 %patch27 -p1
+%patch28 -p1
+%patch100 -p1
 
 install %{SOURCE15} scripts/perl.prov.in