From 43b5430596c69ee1995144e6bd0a70d2b1ae2ec3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 23 Feb 2021 01:08:14 +0100 Subject: [PATCH] - add --with/--without option alias to rpm command - rel 2 --- rpm-popt-aliases.patch | 9 ++++++++- rpm.spec | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/rpm-popt-aliases.patch b/rpm-popt-aliases.patch index a6c5451..61230b0 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,35 @@ +@@ -240,5 +249,42 @@ --POPTdesc=$"trace macro expansion" rpmspec alias --nodebuginfo --define 'debug_package %{nil}' \ --POPTdesc=$"do not generate debuginfo for this package" @@ -16,6 +16,13 @@ +rpmbuild exec --bcond find-spec-bcond \ + --POPTdesc=$"find all --with/--without values" + ++rpm alias --with --define "_with_!#:+ --with-!#:+" \ ++ --POPTdesc=$"enable configure