rpms/gnuplot/devel gnuplot.spec,1.67,1.68

Ivana Varekova varekova at fedoraproject.org
Fri May 29 07:04:37 UTC 2009


Author: varekova

Update of /cvs/pkgs/rpms/gnuplot/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10007

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




Index: gnuplot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnuplot/devel/gnuplot.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -p -r1.67 -r1.68
--- gnuplot.spec	28 May 2009 12:07:46 -0000	1.67
+++ gnuplot.spec	29 May 2009 07:04:06 -0000	1.68
@@ -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 
 
 %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.5-2
+- fix preun scripts
+
 * Thu May 28 2009 Ivana Varekova <varekova at redhat.com> - 4.2.5-1
 - update to 4.2.5
 




More information about the scm-commits mailing list