[packages/gnupg2] provide 'gnupg' when built with default_gpg

baggins baggins at pld-linux.org
Thu May 24 08:52:06 CEST 2018


commit 5516c085739e728fb46a14d4d2a5e4ba1c6a35e5
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Mar 27 19:18:50 2018 +0200

    provide 'gnupg' when built with default_gpg

 gnupg2.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gnupg2.spec b/gnupg2.spec
index 4fce347..81a7d12 100644
--- a/gnupg2.spec
+++ b/gnupg2.spec
@@ -44,7 +44,10 @@ BuildRequires:	texinfo
 BuildRequires:	zlib-devel
 Requires:	gnupg2-common = %{version}-%{release}
 Requires:	sqlite3 >= 3.7
-%{?with_default_gpg:Obsoletes:	gnupg < 2}
+%if %{with default_gpg}
+Obsoletes:	gnupg < 2
+Provides:	gnupg = %{version}-%{release}
+%endif
 Suggests:	gnupg-agent
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnupg2.git/commitdiff/aab2acb57125a97d529782c515b7c72a5bf923d8



More information about the pld-cvs-commit mailing list