[packages/gnupg2/gnupg2-2.2] provide 'gnupg' when built with default_gpg
atler
atler at pld-linux.org
Tue Mar 27 19:19:42 CEST 2018
commit bb9a24319ae9d2b91d139c8fcd0e4acbdf5bb599
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 64ad585..1148832 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/bb9a24319ae9d2b91d139c8fcd0e4acbdf5bb599
More information about the pld-cvs-commit
mailing list