[packages/gpgme] GPG binaries are not really required (if libs are only needed)

gotar gotar at pld-linux.org
Wed Aug 31 01:35:36 CEST 2016


commit 86e0723610129d2c7b2e74d65090f3686fa8a95e
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Wed Aug 31 01:32:22 2016 +0200

    GPG binaries are not really required (if libs are only needed)
    
    Since 1.5.0: WARNING: unrecognized options: --with-gpgsm, --with-gpg:
     * On Unices the engine file names are not not anymore hardwired but
       located via the envvar PATH.  All options to set the name of the
       engines for the configure run are removed.
    
     * If GPGME finds the gpgconf binary it defaults to using gpg2 or
       whatever gpgconf tells as name for the OpenPGP engine.  If gpgconf
       is not found, GPGME looks for an engine named "gpg".

 gpgme.spec | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/gpgme.spec b/gpgme.spec
index ddf9a87..f1a5f4c 100644
--- a/gpgme.spec
+++ b/gpgme.spec
@@ -4,7 +4,6 @@
 #    /usr/share/common-lisp/source/gpgme/gpgme.lisp
 #
 # Conditional build:
-%bcond_without	gpgsm		# with gnupg S/MIME support
 %bcond_without	static_libs	# do not build static libraries
 %bcond_with	tests		# perform tests
 #
@@ -29,9 +28,9 @@ BuildRequires:	libgpg-error-devel >= 1.11
 BuildRequires:	libtool >= 2:2.2.6
 BuildRequires:	texinfo
 BuildConflicts:	gnupg < 1.3.0
-%{!?with_gpgsm:Requires:	gnupg >= 1.4.0}
-%{?with_gpgsm:Requires:	gnupg-smime >= 1.9.8}
-%{?with_gpgsm:Requires:	gnupg2 >= 2.0.4}
+Suggests:	gnupg >= 1.4.0
+Suggests:	gnupg-smime >= 1.9.8
+Suggests:	gnupg2 >= 2.0.4
 Requires:	libassuan >= 1:2.0.2
 Requires:	libgpg-error >= 1.11
 Obsoletes:	cryptplug
@@ -84,10 +83,7 @@ Statyczna wersja biblioteki GPGME.
 %{__autoheader}
 %{__automake}
 %configure \
-	%{?with_static_libs:--enable-static} \
-	%{?with_gpgsm:--with-gpgsm=/usr/bin/gpgsm} \
-	%{!?with_gpgsm:--without-gpgsm} \
-	--with-gpg=/usr/bin/gpg%{?with_gpgsm:2}
+	%{?with_static_libs:--enable-static}
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gpgme.git/commitdiff/86e0723610129d2c7b2e74d65090f3686fa8a95e



More information about the pld-cvs-commit mailing list