Browse code

gnupg: Updated to 2.2.10

Updated latest available version

Change-Id: I9ca9aa76501a13c60fca852f5cb66daa0e62a597
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5943
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

Ankit Jain authored on 2018/10/20 13:10:51
Showing 2 changed files
... ...
@@ -1,22 +1,20 @@
1 1
 Summary:	OpenPGP standard implementation used for encrypted communication and data storage.
2 2
 Name:		gnupg
3
-Version:	2.1.20
4
-Release:	3%{?dist}
3
+Version:	2.2.10
4
+Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		https://gnupg.org/index.html
7 7
 Group:		Applications/Cryptography.
8 8
 Source0:        https://gnupg.org/ftp/gcrypt/gnupg/%{name}-%{version}.tar.bz2
9
-%define sha1 gnupg=500ddae8e4225ae2e300934090f9b9a427b8def1
9
+%define sha1 gnupg=3e87504e2ca317718aa9b6299947ebf7e906b54e
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 BuildRequires:	zlib-devel
13 13
 BuildRequires:  bzip2-devel
14 14
 BuildRequires:  readline-devel
15
-BuildRequires:  npth
16 15
 BuildRequires:  npth-devel
17 16
 BuildRequires:  libassuan
18 17
 BuildRequires:  libksba >= 1.0.7
19
-BuildRequires:  libgcrypt >= 1.7.0
20 18
 BuildRequires:  libgcrypt-devel
21 19
 BuildRequires:  libgpg-error >= 1.24
22 20
 Requires:       libksba
... ...
@@ -30,22 +28,23 @@ Provides:       gpg
30 30
 %description
31 31
 GnuPG is a complete and free implementation of the OpenPGP standard as defined
32 32
 by RFC4880 (also known as PGP). GnuPG allows to encrypt and sign your data and
33
-communication, features a versatile key management system as well as access 
34
-modules for all kinds of public key directories. GnuPG, also known as GPG, is 
33
+communication, features a versatile key management system as well as access
34
+modules for all kinds of public key directories. GnuPG, also known as GPG, is
35 35
 a command line tool with features for easy integration with other applications.
36 36
 
37 37
 %prep
38 38
 %setup -q -n %{name}-%{version}
39 39
 
40 40
 %build
41
-./configure --prefix=%{_prefix}      \
42
-            --sysconfdir=%{_sysconfdir} \
43
-            --with-libusb=no
41
+%configure
42
+make %{?_smp_mflags}
44 43
 
45
-make
46 44
 %install
47 45
 make DESTDIR=%{buildroot} install
48 46
 
47
+%check
48
+make %{?_smp_mflags} check
49
+
49 50
 %files
50 51
 %defattr(-,root,root)
51 52
 %{_bindir}/*
... ...
@@ -59,6 +58,8 @@ make DESTDIR=%{buildroot} install
59 59
 %exclude /usr/share/doc/*
60 60
 
61 61
 %changelog
62
+*   Sat Oct 20 2018 Ankit Jain <ankitja@vmware.com> 2.2.10-1
63
+-   Update to 2.2.10
62 64
 *   Wed Aug 30 2017 Alexey Makhalov <amakhalov@vmware.com> 2.1.20-3
63 65
 -   Add requires libgcrypt
64 66
 *   Wed Jun 07 2017 Danut Moraru <dmoraru@vmware.com> 2.1.20-2
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	High-Level Crypto API
2 2
 Name:		gpgme
3 3
 Version:	1.11.1
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	GPLv2+
6 6
 URL:		https://www.gnupg.org/(it)/related_software/gpgme/index.html
7 7
 Group:		System Environment/Security
... ...
@@ -18,7 +18,7 @@ BuildRequires:	libgpg-error-devel >= 1.32
18 18
 BuildRequires:	libassuan >= 2.2.0
19 19
 
20 20
 %description
21
-The GPGME package is a C language library that allows to add support for cryptography to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.  
21
+The GPGME package is a C language library that allows to add support for cryptography to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.
22 22
 
23 23
 %package 	devel
24 24
 Group:          Development/Libraries
... ...
@@ -33,10 +33,8 @@ Static libraries and header files from GPGME, GnuPG Made Easy.
33 33
 %setup -q
34 34
 
35 35
 %build
36
-sed -i 's/GPG = gpg/GPG = gpg2/g' tests/gpg/Makefile.am
37 36
 ./autogen.sh
38
-./configure \
39
-	--prefix=%{_prefix} \
37
+%configure \
40 38
  	--disable-fd-passing \
41 39
 	--disable-static \
42 40
 	--enable-languages=cl \
... ...
@@ -55,7 +53,7 @@ cd tests && make check-TESTS
55 55
 
56 56
 %postun	-p /sbin/ldconfig
57 57
 
58
-%files 
58
+%files
59 59
 %defattr(-,root,root)
60 60
 %{_libdir}/*.so.*
61 61
 
... ...
@@ -68,6 +66,8 @@ cd tests && make check-TESTS
68 68
 %{_datadir}/common-lisp/source/gpgme/*
69 69
 
70 70
 %changelog
71
+*   Sat Oct 20 2018 Ankit Jain <ankitja@vmware.com> 1.11.1-2
72
+-   Removed gpg2, gnupg-2.2.10 doesn't provide gpg2
71 73
 *   Tue Sep 11 2018 Anish Swaminathan <anishs@vmware.com> 1.11.1-1
72 74
 -   Update version to 1.11.1
73 75
 *   Wed Aug 30 2017 Alexey Makhalov <amakhalov@vmware.com> 1.9.0-3