$ git show --format=fuller --patch-with-stat --summary 9e1bdc3b9124478bad8b7f7ec747b825ec153fd9
commit 9e1bdc3b9124478bad8b7f7ec747b825ec153fd9
Author: Alex <alexander@mezon.ru>
AuthorDate: Thu Jan 9 02:06:44 2020 +0000
Commit: Alex <alexander@mezon.ru>
CommitDate: Thu Jan 9 02:06:44 2020 +0000
link it properly
---
python-gpgme.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/python-gpgme.spec b/python-gpgme.spec
index 19b86a6..c58542e 100644
--- a/python-gpgme.spec
+++ b/python-gpgme.spec
@@ -6,7 +6,7 @@
Name: python-gpgme
Version: 0.3
-Release: 12
+Release: 13
Summary: Python module for working with OpenPGP messages
License: LGPLv2+
Group: Development/Python
@@ -24,7 +24,6 @@ Patch0004: 0004-add-pubkey_algo-and-hash_algo-attributes-to-signatur.patch
Patch0005: 0005-add-ENCRYPT_NO_ENCRYPT_TO-constant.patch
Patch0006: 0006-ignore-STATUS_KEY_CONSIDERED-when-editing.patch
-
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(python2)
BuildRequires: gpgme-devel
@@ -54,7 +53,7 @@ cp -a . %{py3dir}
CFLAGS="%{optflags}" python2 setup.py build
pushd %{py3dir}
-CFLAGS="%{optflags}" python setup.py build
+CFLAGS="%{optflags} -lpython%{pyver}" python setup.py build
popd