diff --git a/0001-fix-stupid-ax_python_devel.patch b/0001-fix-stupid-ax_python_devel.patch deleted file mode 100644 index 46ad827f111b5520696657ae5df97024d0aa4e5e..0000000000000000000000000000000000000000 --- a/0001-fix-stupid-ax_python_devel.patch +++ /dev/null @@ -1,100 +0,0 @@ -From b0eabea4b1232ee7f45d13b8add928d463f37444 Mon Sep 17 00:00:00 2001 -From: Igor Gnatenko -Date: Wed, 29 Mar 2017 07:13:35 +0200 -Subject: [PATCH] fix stupid ax_python_devel - -References: https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=883a2abd5af5c96be894d5ef7ee6e9a2b8e64307 -Signed-off-by: Igor Gnatenko ---- - m4/ax_python_devel.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 -index b990d5b3..318b089c 100644 ---- a/m4/ax_python_devel.m4 -+++ b/m4/ax_python_devel.m4 -@@ -137,7 +137,7 @@ variable to configure. See ``configure --help'' for reference. - # - AC_MSG_CHECKING([for the distutils Python package]) - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) -diff --git a/configure b/configure -index 6200f91..6a3d6f1 100755 ---- a/configure -+++ b/configure -@@ -19880,7 +19868,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else -@@ -20510,7 +20498,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else -@@ -21140,7 +21128,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else -@@ -21770,7 +21758,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else -@@ -22400,7 +22388,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else -@@ -23030,7 +23018,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else -@@ -23660,7 +23648,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else -@@ -24290,7 +24278,7 @@ variable to configure. See \`\`configure --help'' for reference. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 - $as_echo_n "checking for the distutils Python package... " >&6; } - ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` -- if test -z "$ac_distutils_result"; then -+ if test $? -eq 0; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } - else diff --git a/gpgme-1.21.0.tar.bz2 b/gpgme-1.21.0.tar.bz2 deleted file mode 100644 index d95a294f527ff77845602a7c626249a0fb45a081..0000000000000000000000000000000000000000 Binary files a/gpgme-1.21.0.tar.bz2 and /dev/null differ diff --git a/gpgme-1.23.2.tar.bz2 b/gpgme-1.23.2.tar.bz2 new file mode 100644 index 0000000000000000000000000000000000000000..e1398e830b92f26fb21014fa935141612c5b85d3 Binary files /dev/null and b/gpgme-1.23.2.tar.bz2 differ diff --git a/gpgme.spec b/gpgme.spec index 8c3a1c715939657a38b8e18dda9c16859025bb10..88731551a7962cd6148c32cb7193ea2adb64a540 100644 --- a/gpgme.spec +++ b/gpgme.spec @@ -7,7 +7,7 @@ Name: gpgme Summary: GnuPG Made Easy - high level crypto API -Version: 1.21.0 +Version: 1.23.2 Release: %{anolis_release}%{?dist} # MIT: src/cJSON.{c,h} (used by gpgme-json) @@ -20,8 +20,6 @@ Source0: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2 Patch1001: 0001-don-t-add-extra-libraries-for-linking.patch # add -D_FILE_OFFSET_BITS... to gpgme-config, upstreamable Patch1002: gpgme-1.3.2-largefile.patch -# Let's fix stupid AX_PYTHON_DEVEL -Patch1003: 0001-fix-stupid-ax_python_devel.patch # Allow extra options to be passed to setup.py during installation Patch1004: 0002-setup_py_extra_opts.patch @@ -121,15 +119,6 @@ This package contains the %{name} bindings for Python 3. %prep %autosetup -p1 -## HACK ALERT -# The config script already suppresses the -L if it's /usr/lib, so cheat and -# set it to a value which we know will be suppressed. -sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpgme-config.in - -# The build machinery does not support Python 3.9+ yet -# https://github.com/gpg/gpgme/pull/4 -sed -i 's/3.8/%{python3_version}/g' configure - %build export CFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' export CXXFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' @@ -210,6 +199,9 @@ chrpath -d %{buildroot}%{_libdir}/libq%{name}.so* %{abidir}/*%{name}*python*.dump %changelog +* Fri Jan 19 2024 Funda Wang - 1.23.2-1 +- New version 1.23.2 + * Wed Jul 12 2023 Funda Wang - 1.21.0-1 - New version 1.21.0