]> git.pld-linux.org Git - packages/gnupg2.git/commitdiff
provide 'gnupg' when built with default_gpg
authorJan Palus <atler@pld-linux.org>
Tue, 27 Mar 2018 17:18:50 +0000 (19:18 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 24 May 2018 06:48:29 +0000 (15:48 +0900)
gnupg2.spec

index 4fce347d23c124519062c64e0cd1aaa20033e491..81a7d120dd950051a932f7035ab4966d68e22c08 100644 (file)
@@ -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)
 
This page took 0.182294 seconds and 4 git commands to generate.