gpgme/gpgme-fix-python-install.patch
Pedro Monreal Gonzalez 86c34da11f Accepting request 1227272 from home:dimstar:Factory
- Add gpgme-fix-python-install.patch: Fix the installation of the
  python bindings without having to move them around manually.

This should be the correct fix instead of
 Move the gpg python bindings out of the egg directory.

Patch should be upstreamable (and thus be fixed for everybody)

OBS-URL: https://build.opensuse.org/request/show/1227272
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=178
2024-11-29 16:39:45 +00:00

29 lines
864 B
Diff

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