]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- add --with/--without option alias to rpm command auto/th/rpm-4.16.1.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Feb 2021 00:08:14 +0000 (01:08 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Feb 2021 00:08:14 +0000 (01:08 +0100)
- rel 2

rpm-popt-aliases.patch
rpm.spec

index a6c54518cdfb54de999e221d9f269c7ac7ed83a5..61230b04339d1beeb6ae5eda3fc7b60ad4285e37 100644 (file)
@@ -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"
 +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."
 +
index 8136f8759484e4633e8322c7d36c94815ab4f966..0a9280b6e2ce04f7c24a143c9ac94eb1b898e178 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.1.2
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2 / LGPL v2.1
 Group:         Base
This page took 0.056125 seconds and 4 git commands to generate.