Accepting request 1069216 from graphics
- Fix build with newer rubies, that removed File:exists method OBS-URL: https://build.opensuse.org/request/show/1069216 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tupitube?expand=0&rev=9
This commit is contained in:
commit
1a98fa5add
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 13:01:05 UTC 2023 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- Fix build with newer rubies, that removed File:exists method
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 26 12:25:31 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package tupitube
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2016 Packman Team <packman@links2linux.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -94,6 +94,10 @@ This package contains plugins for %{name}.
|
||||
# Fix `require': cannot load such file -- os (LoadError)
|
||||
sed -i '/require .os/d' qonf/configure.rb
|
||||
|
||||
# Newer rubies obviously removed this method: note the elaborated error message
|
||||
# Configure failed. error was: undefined method `exists?' for File:Class
|
||||
sed -i 's|File.exists|File.exist|' configure.rb qonf/test.rb
|
||||
|
||||
# Fix 'E: spurious-executable-perm'
|
||||
chmod -x COPYING README* launcher/tupitube.xml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user