- fix #489069 (update of the package from nonsplit version causes the
absence of gnuplot binary - fixed using posttrans instead of post)
This commit is contained in:
parent
5cc407110d
commit
438f25bbe0
11
gnuplot.spec
11
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 <varekova@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@lists.fedoraproject.org> - 4.2.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user