From 75a835a1f9c482610ecd69fb290b39e46ee627d3 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 20 Mar 2021 14:15:29 +0100 Subject: [PATCH] - no repackage in rpm.org --- macros.local | 3 --- rpm-popt-aliases.patch | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/macros.local b/macros.local index d5bdbd7..99fd53e 100644 --- a/macros.local +++ b/macros.local @@ -5,9 +5,6 @@ %_install_file_context_path %{nil} %_verify_file_context_path %{nil} -# If non-zero, all erasures will be automagically repackaged. -%_repackage_all_erasures 0 - # Boolean (i.e. 1 == "yes", 0 == "no") that controls whether files # marked as %doc should be installed. #%_excludedocs 1 diff --git a/rpm-popt-aliases.patch b/rpm-popt-aliases.patch index 61230b0..8166b08 100644 --- a/rpm-popt-aliases.patch +++ b/rpm-popt-aliases.patch @@ -1,6 +1,6 @@ --- rpm-4.4.9/rpmpopt.in 2008-03-24 22:09:33.709972364 +0200 +++ rpm-4.4.9/rpmpopt.in 2008-04-04 18:51:45.658923774 +0300 -@@ -240,5 +249,42 @@ +@@ -240,5 +246,39 @@ --POPTdesc=$"trace macro expansion" rpmspec alias --nodebuginfo --define 'debug_package %{nil}' \ --POPTdesc=$"do not generate debuginfo for this package" @@ -35,9 +35,6 @@ +rpm alias --what-requires --whatrequires \ + --POPTdesc=$"find package name that contains a required capability" + -+rpm alias --norepackage --define '_repackage_all_erasures 0' \ -+ --POPTdesc=$"Disable re-package of the files before erasing" -+ +rpmbuild alias --disable-debuginfo --define '_enable_debug_packages 0' \ + --POPTdesc=$"Disable debuginfo package creation" + -- 2.46.0