Accepting request 905639 from utilities

- Add libexec_fix.patch to rewrite module paths from /usr/lib/ to /usr/libexec/

OBS-URL: https://build.opensuse.org/request/show/905639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hollywood?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2021-07-11 23:25:00 +00:00 committed by Git OBS Bridge
commit 7eaeb1b9fa
3 changed files with 24 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 11 01:51:19 UTC 2021 - Jonathan Papineau <jonathan@jpapineau.ca>
- Add libexec_fix.patch to rewrite module paths from /usr/lib/ to /usr/libexec/
-------------------------------------------------------------------
Fri May 8 06:18:53 UTC 2020 - Stefan Seyfried <seife+obs@b1-systems.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package hollywood
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,14 +26,16 @@ License: Apache-2.0 AND CC0-1.0
Group: Amusements/Toys/Other
URL: https://launchpad.net/hollywood
Source: https://launchpad.net/hollywood/trunk/%{version}/+download/hollywood_%{version}.orig.tar.gz#/%{name}-%{version}.tar.gz
Recommends: byobu
# PATCH-FIX-OPENSUSE libexec_fix.patch -- rewrite module paths from /usr/lib/ to /usr/libexec/
Patch0: libexec_fix.patch
Recommends: apg
Recommends: bmon
Recommends: byobu
# in debian: bsdmainutils
Recommends: util-linux
Recommends: coreutils
Recommends: ccze
Recommends: cmatrix
Recommends: coreutils
Recommends: htop
Recommends: jp2a
Recommends: mlocate
@ -85,6 +87,7 @@ and statistics, like any good computer screen on Wall Street.
%prep
%setup -q
%patch0 -p0
%build

13
libexec_fix.patch Normal file
View File

@ -0,0 +1,13 @@
Index: bin/hollywood
===================================================================
--- bin/hollywood.orig
+++ bin/hollywood
@@ -43,7 +43,7 @@ spin_up() {
done
}
-WIDGET_DIR="$(dirname $0)/../lib/$PKG"
+WIDGET_DIR="$(dirname $0)/../libexec/$PKG"
SPLITS=$(ls "$WIDGET_DIR" | wc -l)
DELAY=10
while [ ! -z "$1" ]; do