From 40a9bd0b4eefeea95db86af287d8e2ee9f0392eb9b2b855a80f8b90529b4adb2 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 4 Jan 2013 08:39:22 +0000 Subject: [PATCH] Accepting request 145801 from home:elvigia:branches:GNOME:Apps - Application links to libperl.so which is not versioned and %perl_version dependant, add proper Requires. OBS-URL: https://build.opensuse.org/request/show/145801 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gnumeric?expand=0&rev=68 --- gnumeric.changes | 6 ++++++ gnumeric.spec | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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