From 6618e379e9e5b8f2c559c2d65b074bc6bd4511e275975d41c46bc428f1443f9a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 24 Jul 2015 11:34:04 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=69 --- gnuplot.changes | 5 +++++ gnuplot.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gnuplot.changes b/gnuplot.changes index f39b2d4..cb08d67 100644 --- a/gnuplot.changes +++ b/gnuplot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 24 11:08:33 UTC 2015 - werner@suse.de + +- Require pkgconfig of libcerf at build time + ------------------------------------------------------------------- Fri May 22 07:07:22 UTC 2015 - werner@suse.de diff --git a/gnuplot.spec b/gnuplot.spec index 7e40f2a..ff0e9be 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -1,7 +1,7 @@ # # spec file for package gnuplot # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -46,6 +46,9 @@ BuildRequires: pkgconfig(Qt5Svg) %else BuildRequires: libqt4-devel >= 4.5 %endif +%if %suse_version > 1320 +BuildRequires: pkgconfig(libcerf) +%endif BuildRequires: latex2html BuildRequires: texlive-latex BuildRequires: texlive-tex4ht @@ -127,7 +130,7 @@ Summary: Documentation of GNUplot Group: Productivity/Graphics/Visualization/Graph Requires: %{name} Requires(post): %install_info_prereq -Requires(postun): %install_info_prereq +Requires(preun): %install_info_prereq BuildArch: noarch %description doc @@ -263,7 +266,7 @@ autoreconf -fi %post doc %install_info --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz -%postun doc +%preun doc %install_info_delete --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz %files