Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gpgme for openSUSE:Factory checked 
in at 2024-11-30 13:27:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gpgme (Old)
 and      /work/SRC/openSUSE:Factory/.gpgme.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gpgme"

Sat Nov 30 13:27:31 2024 rev:109 rq:1227358 version:1.24.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gpgme/gpgme.changes      2024-11-21 
15:13:15.976082139 +0100
+++ /work/SRC/openSUSE:Factory/.gpgme.new.28523/gpgme.changes   2024-11-30 
13:27:49.145638579 +0100
@@ -1,0 +2,6 @@
+Fri Nov 29 07:47:13 UTC 2024 - Dominique Leuenberger <[email protected]>
+
+- Add gpgme-fix-python-install.patch: Fix the installation of the
+  python bindings without having to move them around manually.
+
+-------------------------------------------------------------------

New:
----
  gpgme-fix-python-install.patch

BETA DEBUG BEGIN:
  New:
- Add gpgme-fix-python-install.patch: Fix the installation of the
  python bindings without having to move them around manually.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gpgme.spec ++++++
--- /var/tmp/diff_new_pack.bgkvS7/_old  2024-11-30 13:27:49.749663738 +0100
+++ /var/tmp/diff_new_pack.bgkvS7/_new  2024-11-30 13:27:49.753663904 +0100
@@ -58,6 +58,7 @@
 # PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch [email protected] -- 
remove "-unknown" betasuffix boo#1205197
 Patch2:         gpgme-suse-nobetasuffix.patch
 Patch3:         python313.patch
+Patch4:         gpgme-fix-python-install.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++
@@ -316,14 +317,6 @@
 %endif
 popd
 
-%if %{with python3}
-# Move the gpg directory out of the newly added egg upstream directory
-%if 0%{?suse_version} > 1500
-%python_expand mv %{buildroot}%{$python_sitearch}/gpg-%{version}*.egg/gpg 
%{buildroot}%{$python_sitearch}/gpg
-%python_expand rm -rf %{buildroot}%{$python_sitearch}/gpg-%{version}*.egg
-%endif
-%endif
-
 %check
 GPGME_DEBUG=2:mygpgme.log %make_build check skip=%{?qt_skip:%{qt_skip}} || cat 
$(find -name mygpgme.log -type f)
 
@@ -382,10 +375,8 @@
 %files %{python_files gpg}
 %license COPYING COPYING.LESSER LICENSES
 %{python_sitearch}/gpg
-%if 0%{?suse_version} <= 1500
 %{python_sitearch}/gpg-%{version}*.egg-info
 %endif
-%endif
 
 %if %{with qt}
 %files -n libqgpgme15


++++++ gpgme-fix-python-install.patch ++++++
Index: gpgme-1.24.0/lang/python/Makefile.am
===================================================================
--- gpgme-1.24.0.orig/lang/python/Makefile.am
+++ gpgme-1.24.0/lang/python/Makefile.am
@@ -96,7 +96,8 @@ install-exec-local:
          build \
          --build-base="$$(basename "$${PYTHON}")-gpg" \
          install \
-         --prefix "$(DESTDIR)$(prefix)" \
+         --root "$(DESTDIR)" \
+         --prefix "$(prefix)" \
          --verbose ; \
        done
 
Index: gpgme-1.24.0/lang/python/Makefile.in
===================================================================
--- gpgme-1.24.0.orig/lang/python/Makefile.in
+++ gpgme-1.24.0/lang/python/Makefile.in
@@ -818,7 +818,8 @@ install-exec-local:
          build \
          --build-base="$$(basename "$${PYTHON}")-gpg" \
          install \
-         --prefix "$(DESTDIR)$(prefix)" \
+         --root "$(DESTDIR)" \
+         --prefix "$(prefix)" \
          --verbose ; \
        done
 

Reply via email to