chantra / rpms / rpm

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