[jumpnbump] 04/06: Apply two post-release patches from the upstream GIt repo
Fabian Greffrath
fabian at moszumanska.debian.org
Sat Jun 24 15:52:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
fabian pushed a commit to branch master
in repository jumpnbump.
commit 52eb8d5ab720aa94d77c6610e8e7bfe70f963a6b
Author: Fabian Greffrath <fabian at debian.org>
Date: Sat Jun 24 17:40:12 2017 +0200
Apply two post-release patches from the upstream GIt repo
---
...-Fix-invalid-homepage-and-screenshot-URLs.patch | 33 ++++++++++++++++++++++
...02-menu-Make-python-shebang-more-explicit.patch | 19 +++++++++++++
debian/patches/series | 2 ++
3 files changed, 54 insertions(+)
diff --git a/debian/patches/0001-appdata-Fix-invalid-homepage-and-screenshot-URLs.patch b/debian/patches/0001-appdata-Fix-invalid-homepage-and-screenshot-URLs.patch
new file mode 100644
index 0000000..2314824
--- /dev/null
+++ b/debian/patches/0001-appdata-Fix-invalid-homepage-and-screenshot-URLs.patch
@@ -0,0 +1,33 @@
+From 7b6794802d774ceae775de1ab8a76741c0307daf Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= <rverschelde at gmail.com>
+Date: Sat, 27 May 2017 20:44:43 +0200
+Subject: [PATCH 1/2] appdata: Fix invalid homepage and screenshot URLs
+
+Also change my email to the one used for distro packaging.
+---
+ dist/jumpnbump.appdata.xml | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+--- a/dist/jumpnbump.appdata.xml
++++ b/dist/jumpnbump.appdata.xml
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+-<!-- Copyright 2017 Rémi Verschelde <remi at verschelde.fr> -->
++<!-- Copyright 2017 Rémi Verschelde <rverschelde at gmail.com> -->
+ <component type="desktop">
+ <id>jumpnbump.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+@@ -42,10 +42,10 @@
+ </content_rating>
+ <screenshots>
+ <screenshot type="default" width="800" height="512">
+- https://raw.githubusercontent.com/MCMic/jumpnbump/master/dist/screenshot.png
++ https://gitlab.com/LibreGames/jumpnbump/raw/master/dist/screenshot.png
+ </screenshot>
+ </screenshots>
+ <translation/>
+- <url type="homepage">https://github.com/MCMic/jumpnbump</url>
+- <update_contact>remi_AT_verschelde.fr</update_contact>
++ <url type="homepage">https://gitlab.com/LibreGames/jumpnbump</url>
++ <update_contact>rverschelde_AT_gmail.com</update_contact>
+ </component>
diff --git a/debian/patches/0002-menu-Make-python-shebang-more-explicit.patch b/debian/patches/0002-menu-Make-python-shebang-more-explicit.patch
new file mode 100644
index 0000000..2a832ba
--- /dev/null
+++ b/debian/patches/0002-menu-Make-python-shebang-more-explicit.patch
@@ -0,0 +1,19 @@
+From c236e174ac85237480e1de6f574924e09a0370a0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= <rverschelde at gmail.com>
+Date: Sat, 27 May 2017 20:46:10 +0200
+Subject: [PATCH 2/2] menu: Make python shebang more explicit
+
+This is necessary to satisfy rpmlint:
+E: wrong-script-interpreter /usr/bin/jumpnbump-menu /usr/bin/env python
+---
+ menu/jumpnbump_menu.py.pre | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/menu/jumpnbump_menu.py.pre
++++ b/menu/jumpnbump_menu.py.pre
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python2
+
+ # Copyright (C) 2002 Martin Willemoes Hansen <mwh at sysrq.dk>
+ #
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7fd3260
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0002-menu-Make-python-shebang-more-explicit.patch
+0001-appdata-Fix-invalid-homepage-and-screenshot-URLs.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/jumpnbump.git
More information about the Pkg-games-commits
mailing list