remove unneeded scriptlets
The install-info is triggered automatically by filetrigger. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e1e84897d3
commit
6c54192149
16
cpio.spec
16
cpio.spec
@ -37,8 +37,6 @@ Patch7: cpio-2.10-longnames-split.patch
|
|||||||
Patch8: cpio-2.11-crc-fips-nit.patch
|
Patch8: cpio-2.11-crc-fips-nit.patch
|
||||||
|
|
||||||
|
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
Provides: bundled(gnulib)
|
Provides: bundled(gnulib)
|
||||||
Provides: /bin/cpio
|
Provides: /bin/cpio
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -89,20 +87,6 @@ make check || {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
%post
|
|
||||||
if [ -f %{_infodir}/cpio.info.gz ]; then
|
|
||||||
/sbin/install-info %{_infodir}/cpio.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%preun
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
if [ -f %{_infodir}/cpio.info.gz ]; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/cpio.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user