--- /dev/null
+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
--- /dev/null
+--- 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.
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
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}
%patch25 -p1
%patch26 -p1
%patch27 -p1
+%patch28 -p1
+%patch100 -p1
install %{SOURCE15} scripts/perl.prov.in