Accepting request 1062061 from home:dimstar:Factory
- Add dLeyna-no-python-shebang.patch: remove /usr/bin/python shebang from download_sync_controller.py. The file is installed into a python 3.10 site-directory and thus clearly does not need a python2 shebang. OBS-URL: https://build.opensuse.org/request/show/1062061 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/dLeyna?expand=0&rev=5
This commit is contained in:
parent
8d4c3e3e2a
commit
8833b91a97
10
dLeyna-no-python-shebang.patch
Normal file
10
dLeyna-no-python-shebang.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
diff --git a/python/dLeyna/download_sync_controller.py b/python/dLeyna/download_sync_controller.py
|
||||||
|
index b567249..c0b48c9 100755
|
||||||
|
--- a/python/dLeyna/download_sync_controller.py
|
||||||
|
+++ b/python/dLeyna/download_sync_controller.py
|
||||||
|
@@ -1,5 +1,3 @@
|
||||||
|
-#!/usr/bin/python
|
||||||
|
-
|
||||||
|
# download_sync_controller
|
||||||
|
#
|
||||||
|
# Copyright (C) 2012-2017 Intel Corporation. All rights reserved.
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 30 14:13:19 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Add dLeyna-no-python-shebang.patch: remove /usr/bin/python
|
||||||
|
shebang from download_sync_controller.py. The file is installed
|
||||||
|
into a python 3.10 site-directory and thus clearly does not need
|
||||||
|
a python2 shebang.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 25 16:30:54 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
Fri Nov 25 16:30:54 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dLeyna
|
# spec file for package dLeyna
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: dLeyna
|
Name: dLeyna
|
||||||
Version: 0.8.2
|
Version: 0.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,12 +23,14 @@ Summary: Services and D-Bus APIs to access UPnP and DLNA media devices in
|
|||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
URL: https://gitlab.gnome.org/World/dLeyna
|
URL: https://gitlab.gnome.org/World/dLeyna
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM dLeyna-no-python-shebang.patch -- Do not carry /usr/bin/pythin shebang in python module files
|
||||||
|
Patch0: dLeyna-no-python-shebang.patch
|
||||||
|
|
||||||
|
BuildRequires: docutils
|
||||||
BuildRequires: meson >= 0.54.0
|
BuildRequires: meson >= 0.54.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: docutils
|
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.28
|
BuildRequires: pkgconfig(gio-2.0) >= 2.28
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28
|
||||||
BuildRequires: pkgconfig(gssdp-1.6) >= 1.6.0
|
BuildRequires: pkgconfig(gssdp-1.6) >= 1.6.0
|
||||||
BuildRequires: pkgconfig(gupnp-1.6) >= 1.6.0
|
BuildRequires: pkgconfig(gupnp-1.6) >= 1.6.0
|
||||||
BuildRequires: pkgconfig(gupnp-av-1.0) >= 0.12.9
|
BuildRequires: pkgconfig(gupnp-av-1.0) >= 0.12.9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user