remove install-info, info package does it now automatically when any package puts a file into %_infodir
This commit is contained in:
parent
ba6218f2b0
commit
7129b6ad70
@ -1,7 +1,7 @@
|
||||
Summary: A plain ASCII to PostScript converter
|
||||
Name: enscript
|
||||
Version: 1.6.6
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/enscript
|
||||
# Tarball exists nowhere. You have to obtain it via:
|
||||
@ -25,8 +25,6 @@ Patch13:enscript-build.patch
|
||||
Patch14:enscript-manfixes.patch
|
||||
Patch15: enscript-bufpos-crash.patch
|
||||
|
||||
Requires(preun): /sbin/install-info
|
||||
Requires(post): /sbin/install-info
|
||||
Obsoletes: nenscript < 1.13++-13
|
||||
Provides: nenscript = 1.13++-13
|
||||
|
||||
@ -87,17 +85,6 @@ for all in README THANKS; do
|
||||
mv $all.new $all
|
||||
done
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
[ -f %{_infodir}/%{name}.info.gz ] && \
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info.gz \
|
||||
%{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%post
|
||||
[ -f %{_infodir}/%{name}.info.gz ] && \
|
||||
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
||||
|
||||
%files -f %{name}.lang -f share.list
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING docs/FAQ.html NEWS README README.ESCAPES THANKS TODO
|
||||
@ -108,6 +95,9 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/enscript.cfg
|
||||
|
||||
%changelog
|
||||
* Mon Jun 18 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.6.6-16
|
||||
- remove install-info, info package does it now automatically when any package puts a file into %%_infodir
|
||||
|
||||
* Mon Feb 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.6.6-15
|
||||
- gcc is no longer in buildroot by default
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user