chantra / rpms / rpm

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