remove unneeded scriptlets
install-info is handled by filetriggers nowadays. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e11479c9e4
commit
07bb539b12
13
gzip.spec
13
gzip.spec
@ -18,7 +18,6 @@ URL: http://www.gzip.org/
|
|||||||
# Requires should not be added for gzip wrappers (eg. zdiff, zgrep,
|
# Requires should not be added for gzip wrappers (eg. zdiff, zgrep,
|
||||||
# zless) of another tools, because gzip "extends" the tools by its
|
# zless) of another tools, because gzip "extends" the tools by its
|
||||||
# wrappers much more than it "requires" them.
|
# wrappers much more than it "requires" them.
|
||||||
Requires: /sbin/install-info
|
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
BuildRequires: texinfo, gcc
|
BuildRequires: texinfo, gcc
|
||||||
Conflicts: filesystem < 3
|
Conflicts: filesystem < 3
|
||||||
@ -68,18 +67,6 @@ mkdir -p %{buildroot}%{profiledir}
|
|||||||
install -p -m 644 %{SOURCE100} %{buildroot}%{profiledir}
|
install -p -m 644 %{SOURCE100} %{buildroot}%{profiledir}
|
||||||
install -p -m 644 %{SOURCE101} %{buildroot}%{profiledir}
|
install -p -m 644 %{SOURCE101} %{buildroot}%{profiledir}
|
||||||
|
|
||||||
%post
|
|
||||||
if [ -f %{_infodir}/gzip.info* ]; then
|
|
||||||
/sbin/install-info %{_infodir}/gzip.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun
|
|
||||||
if [ $1 = 0 ]; then
|
|
||||||
if [ -f %{_infodir}/gzip.info* ]; then
|
|
||||||
/sbin/install-info --delete %{_infodir}/gzip.info.gz %{_infodir}/dir || :
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc NEWS README AUTHORS ChangeLog THANKS TODO
|
%doc NEWS README AUTHORS ChangeLog THANKS TODO
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user