]> git.pld-linux.org Git - packages/gpgme.git/commitdiff
- updated to 1.9.0 auto/th/gpgme-1.9.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 29 Mar 2017 19:06:01 +0000 (21:06 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 29 Mar 2017 19:06:01 +0000 (21:06 +0200)
- updated python patch
- added format patch (fixes build with -Werror=format-security)

gpgme-format.patch [new file with mode: 0644]
gpgme-python.patch
gpgme.spec

diff --git a/gpgme-format.patch b/gpgme-format.patch
new file mode 100644 (file)
index 0000000..be7030f
--- /dev/null
@@ -0,0 +1,11 @@
+--- gpgme-1.9.0/lang/qt/src/dn.cpp.orig        2017-03-20 20:10:15.000000000 +0100
++++ gpgme-1.9.0/lang/qt/src/dn.cpp     2017-03-29 20:58:29.893277570 +0200
+@@ -167,7 +167,7 @@
+     for (unsigned int i = 0; i < numOidMaps; ++i)
+         if (!strcasecmp((char *)p, oidmap[i].oid)) {
+             free(p);
+-            gpgrt_asprintf(&p, oidmap[i].name);
++            gpgrt_asprintf(&p, "%s", oidmap[i].name);
+             break;
+         }
+     array->key = p;
index 23e6de0bc6b175f86e3821e547cb0c332efed6fb..7d87ef734682c1ee7a53cac01e112107d4f89599 100644 (file)
@@ -1,8 +1,8 @@
---- gpgme-1.8.0/lang/python/Makefile.am.orig   2016-11-27 12:56:09.390089844 +0100
-+++ gpgme-1.8.0/lang/python/Makefile.am        2016-11-27 17:00:38.506589016 +0100
-@@ -101,14 +101,15 @@
-       rm -f install_files.txt
-       for PYTHON in $(PYTHONS); do \
+--- gpgme-1.9.0/lang/python/Makefile.am.orig   2017-03-29 20:00:06.723317571 +0200
++++ gpgme-1.9.0/lang/python/Makefile.am        2017-03-29 20:50:36.333282979 +0200
+@@ -105,7 +105,9 @@
+         PYTHON="$$1" ; shift ; \
+         cd python$${VERSION}-gpg ; \
          $$PYTHON setup.py install \
 -        --prefix $(DESTDIR)$(prefix) \
 +        --prefix $(prefix) \
@@ -10,8 +10,9 @@
 +        --optimize=2 \
          --record files.txt \
          --verbose ; \
-         cat files.txt >> install_files.txt ; \
-         rm files.txt ; \
+         cat files.txt >> ../install_files.txt ; \
+@@ -113,7 +115,6 @@
+         cd .. ; \
        done
        $(MKDIR_P) $(DESTDIR)$(pythondir)/gpg
 -      mv install_files.txt $(DESTDIR)$(pythondir)/gpg
index 8293b1b38b639394fc7968fa2e95c74b40b668ac..91e39a17ad093a56694faa3b7515335850061c5b 100644 (file)
 Summary:       Library for accessing GnuPG
 Summary(pl.UTF-8):     Biblioteka dająca dostęp do funkcji GnuPG
 Name:          gpgme
-Version:       1.8.0
-Release:       2
+Version:       1.9.0
+Release:       1
 Epoch:         1
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       ftp://ftp.gnupg.org/gcrypt/gpgme/%{name}-%{version}.tar.bz2
-# Source0-md5: 722a4153904b9b5dc15485a22d29263b
+# Source0-md5: 1e00bb8ef04d1d05d5a0f19e143854c3
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-kill-tests.patch
 Patch2:                %{name}-largefile.patch
 Patch3:                %{name}-python.patch
+Patch4:                %{name}-format.patch
 URL:           http://www.gnupg.org/gpgme.html
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.14
@@ -224,6 +225,7 @@ PyME to interfejs Pythona do biblioteki GPGME.
 %{!?with_tests:%patch1 -p1}
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
This page took 0.262379 seconds and 4 git commands to generate.