- fix installation with --excludedocs option (#515963)
This commit is contained in:
parent
fb10af8f17
commit
1790a7c89c
13
gnuplot.spec
13
gnuplot.spec
@ -17,7 +17,7 @@
|
|||||||
Summary: A program for plotting mathematical expressions and data
|
Summary: A program for plotting mathematical expressions and data
|
||||||
Name: gnuplot
|
Name: gnuplot
|
||||||
Version: %{major}.%{minor}.%{patchlevel}
|
Version: %{major}.%{minor}.%{patchlevel}
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
# Modifications are to be distributed as patches to the released version.
|
# Modifications are to be distributed as patches to the released version.
|
||||||
License: gnuplot and GPLv2
|
License: gnuplot and GPLv2
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
@ -172,7 +172,9 @@ install -p -m 755 ./src/gnuplot-minimal $RPM_BUILD_ROOT%{_bindir}/gnuplot-minima
|
|||||||
%{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-wx 60
|
%{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-wx 60
|
||||||
|
|
||||||
%post common
|
%post common
|
||||||
/sbin/install-info %{_infodir}/gnuplot.info %{_infodir}/dir || :
|
if [ -f %{_infodir}/gnuplot.info ]; then
|
||||||
|
/sbin/install-info %{_infodir}/gnuplot.info %{_infodir}/dir || :
|
||||||
|
fi
|
||||||
|
|
||||||
%posttrans minimal
|
%posttrans minimal
|
||||||
%{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-minimal 40
|
%{_sbindir}/alternatives --install %{_bindir}/gnuplot gnuplot %{_bindir}/gnuplot-minimal 40
|
||||||
@ -184,7 +186,9 @@ fi
|
|||||||
|
|
||||||
%preun common
|
%preun common
|
||||||
if [ $1 = 0 ] ; then # last uninstall
|
if [ $1 = 0 ] ; then # last uninstall
|
||||||
/sbin/install-info --delete %{_infodir}/gnuplot.info %{_infodir}/dir || :
|
if [ -f %{_infodir}/gnuplot.info ]; then
|
||||||
|
/sbin/install-info --delete %{_infodir}/gnuplot.info %{_infodir}/dir || :
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun minimal
|
%preun minimal
|
||||||
@ -242,6 +246,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/texmf/tex/latex/gnuplot/gnuplot.cfg
|
%{_datadir}/texmf/tex/latex/gnuplot/gnuplot.cfg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 10 2009 Ivana Varekova <varekova redhat com> 4.2.5-6
|
||||||
|
- fix installation with --excludedocs option (#515963)
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.5-5
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.5-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user