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
4b076b516d
commit
6baf6f9857
17
recode.spec
17
recode.spec
@ -14,11 +14,6 @@ Patch4: recode-automake.patch
|
||||
Patch5: recode-format-security.patch
|
||||
Patch6: recode-longfilename.patch
|
||||
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(preun): /sbin/install-info
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
BuildRequires: libtool
|
||||
BuildRequires: texinfo
|
||||
|
||||
@ -74,18 +69,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
# remove libtool archives
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/sbin/install-info %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces." || :
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces." || :
|
||||
fi
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
|
||||
%{_mandir}/*/*
|
||||
|
Loading…
Reference in New Issue
Block a user