Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
3e21930c30
commit
7ae46f6ff5
@ -23,10 +23,6 @@ BuildRequires: libXt-devel
|
|||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
BuildRequires: byacc
|
BuildRequires: byacc
|
||||||
|
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The GNU plotutils package contains software for both programmers and
|
The GNU plotutils package contains software for both programmers and
|
||||||
technical users. Its centerpiece is libplot, a powerful C/C++ function
|
technical users. Its centerpiece is libplot, a powerful C/C++ function
|
||||||
@ -73,23 +69,6 @@ mv ${RPM_BUILD_ROOT}%{_datadir}/tek2plot docs-to-include
|
|||||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
/sbin/install-info %{_infodir}/libxmi.info %{_infodir}/dir || :
|
|
||||||
/sbin/install-info %{_infodir}/plotutils.info %{_infodir}/dir || :
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%preun
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/libxmi.info %{_infodir}/dir || :
|
|
||||||
/sbin/install-info --delete %{_infodir}/plotutils.info %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS COMPAT COPYING NEWS THANKS README PROBLEMS KNOWN_BUGS
|
%doc AUTHORS COMPAT COPYING NEWS THANKS README PROBLEMS KNOWN_BUGS
|
||||||
%doc docs-to-include/*
|
%doc docs-to-include/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user