rpms/gnuplot/devel gnuplot.spec,1.64,1.65

Ivana Varekova varekova at fedoraproject.org
Tue Mar 10 12:59:38 UTC 2009


Author: varekova

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

Modified Files:
	gnuplot.spec 
Log Message:
- fix #489069 (update of the package from nonsplit version
  causes the absence of gnuplot binary -
  fixed using posttrans instead of post)



Index: gnuplot.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnuplot/devel/gnuplot.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- gnuplot.spec	25 Feb 2009 00:07:22 -0000	1.64
+++ gnuplot.spec	10 Mar 2009 12:59:07 -0000	1.65
@@ -17,7 +17,7 @@
 Summary: A program for plotting mathematical expressions and data
 Name: gnuplot
 Version: %{major}.%{minor}.%{patchlevel}
-Release: 4%{?dist}
+Release: 5%{?dist}
 # Modifications are to be distributed as patches to the released version.
 License: gnuplot and GPLv2
 Group: Applications/Engineering
@@ -147,13 +147,13 @@
 # install minimal binary
 install -p -m 755 ./src/gnuplot-minimal $RPM_BUILD_ROOT%{_bindir}/gnuplot-minimal
 
-%post
+%posttrans
 %{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-wx 60
 
 %post common
 /sbin/install-info %{_infodir}/gnuplot.info %{_infodir}/dir || :
 
-%post minimal
+%posttrans minimal
 %{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-minimal 40
 
 %preun
@@ -217,6 +217,11 @@
 %{emacs_lispdir}/%{name}/*.el
 
 %changelog
+* Tue Mar 10 2009 Ivana Varekova <varekova at redhat.com> - 4.2.4-5
+- fix #489069 (update of the package from nonsplit version
+  causes the absence of gnuplot binary -
+  fixed using posttrans instead of post)
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.2.4-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list