diff --git a/tupitube.changes b/tupitube.changes index 05f2313..885e38a 100644 --- a/tupitube.changes +++ b/tupitube.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 3 13:01:05 UTC 2023 - Hans-Peter Jansen + +- Fix build with newer rubies, that removed File:exists method + ------------------------------------------------------------------- Tue Apr 26 12:25:31 UTC 2022 - Luigi Baldoni diff --git a/tupitube.spec b/tupitube.spec index 35655a8..cdbfef1 100644 --- a/tupitube.spec +++ b/tupitube.spec @@ -1,7 +1,7 @@ # # spec file for package tupitube # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2016 Packman Team # # 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