chantra / rpms / rpm

Forked from rpms/rpm 2 years ago
Clone
4c9460
From 5dd555adbed5dae6a9255bb17074d2b043d0244e Mon Sep 17 00:00:00 2001
4c9460
From: Lubos Kardos <lkardos@redhat.com>
4c9460
Date: Fri, 27 Mar 2015 09:57:29 +0100
4c9460
Subject: [PATCH] Add deprecation warning to description of "--addsign"
4c9460
4c9460
---
4c9460
 rpmpopt.in | 2 +-
4c9460
 1 file changed, 1 insertion(+), 1 deletion(-)
4c9460
4c9460
diff --git a/rpmpopt.in b/rpmpopt.in
4c9460
index fe4f40f..ca95702 100644
4c9460
--- a/rpmpopt.in
4c9460
+++ b/rpmpopt.in
4c9460
@@ -188,7 +188,7 @@ rpmbuild alias --buildpolicy --define '__os_install_post %{_rpmconfigdir}/brp-!#
4c9460
 # Minimally preserve rpmbuild's --sign functionality
4c9460
 rpmbuild alias --sign \
4c9460
 	--pipe "grep '.*: .*\.rpm$'|cut -d: -f2|xargs -r rpm --addsign" \
4c9460
-	--POPTdesc=$"generate GPG signature"
4c9460
+	--POPTdesc=$"generate GPG signature (deprecated, use command rpmsign instead)"
4c9460
 
4c9460
 rpmsign alias --key-id  --define '_gpg_name !#:+' \
4c9460
 	--POPTdesc=$"key id/name to sign with" \
4c9460
-- 
4c9460
2.1.0
4c9460