rpms/gnuplot/F-11 gnuplot.spec,1.66,1.67

Ivana Varekova varekova at fedoraproject.org
Fri May 29 07:39:51 UTC 2009


Author: varekova

Update of /cvs/pkgs/rpms/gnuplot/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18096

Modified Files:
	gnuplot.spec 
Log Message:
- fix preun scripts



Index: gnuplot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnuplot/F-11/gnuplot.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -p -r1.66 -r1.67
--- gnuplot.spec	27 Mar 2009 14:22:17 -0000	1.66
+++ gnuplot.spec	29 May 2009 07:39:20 -0000	1.67
@@ -17,7 +17,7 @@
 Summary: A program for plotting mathematical expressions and data
 Name: gnuplot
 Version: %{major}.%{minor}.%{patchlevel}
-Release: 6%{?dist}
+Release: 7%{?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 
 
 %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 <varekova at redhat.com> - 4.2.4-7
+- fix preun scripts
+
 * Fri Mar 27 2009 Ivana Varekova <varekova at redhat.com> - 4.2.4-6
 - split documentation
 




More information about the scm-commits mailing list