diff --git a/gnumeric.changes b/gnumeric.changes index 0989c1a..a111351 100644 --- a/gnumeric.changes +++ b/gnumeric.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 18 22:01:00 UTC 2012 - crrodriguez@opensuse.org + +- Application links to libperl.so which is not versioned + and %perl_version dependant, add proper Requires. + ------------------------------------------------------------------- Tue Dec 11 09:27:26 UTC 2012 - vuntz@opensuse.org diff --git a/gnumeric.spec b/gnumeric.spec index 66aee2c..c9e4cb9 100644 --- a/gnumeric.spec +++ b/gnumeric.spec @@ -49,13 +49,16 @@ BuildRequires: pkgconfig(pygobject-3.0) >= 3.0.0 Recommends: %{name}-lang Recommends: ghostscript-fonts-std Recommends: liberation-fonts -# For perl-func plugin -Recommends: perl # gnumeric uses a ghelp: URI to launch the help application. Let's recommend to have an app that can handle it (bnc#719679) Recommends: mimehandler(x-scheme-handler/ghelp) Provides: gnumeric2 = %{version} Obsoletes: gnumeric2 < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} < 1140 +Requires: perl = %{perl_version} +%else +%{perl_requires} +%endif %description Gnumeric is a spreadsheet application with advanced features and