From d0855ea2e5c1daa0ee1ddccfee58c1ddf614adba Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Fri, 29 May 2009 07:04:06 +0000 Subject: [PATCH] - fix preun scripts --- gnuplot.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gnuplot.spec b/gnuplot.spec index 2772b3a..0e3f8d5 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -17,7 +17,7 @@ Summary: A program for plotting mathematical expressions and data Name: gnuplot Version: %{major}.%{minor}.%{patchlevel} -Release: 1%{?dist} +Release: 2%{?dist} # Modifications are to be distributed as patches to the released version. License: gnuplot and GPLv2 Group: Applications/Engineering @@ -166,7 +166,7 @@ install -p -m 755 ./src/gnuplot-minimal $RPM_BUILD_ROOT%{_bindir}/gnuplot-minima %preun if [ $1 = 0 ]; then - %{_sbindir}/alternatives --remove gnuplot %{_bindir}/gnuplot-wx + %{_sbindir}/alternatives --remove gnuplot %{_bindir}/gnuplot-wx || : fi %preun common @@ -176,7 +176,7 @@ fi %preun minimal if [ $1 = 0 ]; then - %{_sbindir}/alternatives --remove gnuplot %{_bindir}/gnuplot-minimal + %{_sbindir}/alternatives --remove gnuplot %{_bindir}/gnuplot-minimal || : fi %clean @@ -229,6 +229,9 @@ rm -rf $RPM_BUILD_ROOT %{emacs_lispdir}/%{name}/*.el %changelog +* Fri May 29 2009 Ivana Varekova - 4.2.5-2 +- fix preun scripts + * Thu May 28 2009 Ivana Varekova - 4.2.5-1 - update to 4.2.5