commit bb9a24319ae9d2b91d139c8fcd0e4acbdf5bb599
Author: Jan Palus <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to