From 438f25bbe0c95886735b286153981466085bd69f Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Tue, 10 Mar 2009 12:59:07 +0000 Subject: [PATCH] - fix #489069 (update of the package from nonsplit version causes the absence of gnuplot binary - fixed using posttrans instead of post) --- gnuplot.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gnuplot.spec b/gnuplot.spec index 9cf4e51..42c26ab 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: 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 @@ mv $RPM_BUILD_ROOT%{_bindir}/gnuplot $RPM_BUILD_ROOT%{_bindir}/gnuplot-wx # 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 @@ rm -rf $RPM_BUILD_ROOT %{emacs_lispdir}/%{name}/*.el %changelog +* Tue Mar 10 2009 Ivana Varekova - 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 - 4.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild