commit 43b5430596c69ee1995144e6bd0a70d2b1ae2ec3
Author: Jan Rękorajski <[email protected]>
Date:   Tue Feb 23 01:08:14 2021 +0100

    - 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.spec b/rpm.spec
index 8136f87..0a9280b 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.1.2
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2 / LGPL v2.1
 Group:         Base
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 <option> for build" \
++      --POPTargs=$"<option>"
++rpm   alias --without --define "_without_!#:+  --without-!#:+" \
++      --POPTdesc=$"disable configure <option> for build" \
++      --POPTargs=$"<option>"
++
 +rpm   alias --initdb  -qa --quiet \
 +      --POPTdesc=$"Compatibility option with old rpm. Database is created 
lazily now."
 +
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/43b5430596c69ee1995144e6bd0a70d2b1ae2ec3

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

Reply via email to