forked from pool/emacs
Accepting request 793760 from home:dimstar:Factory
Resubmit; this time without a silly typo OBS-URL: https://build.opensuse.org/request/show/793760 OBS-URL: https://build.opensuse.org/package/show/editors/emacs?expand=0&rev=276
This commit is contained in:
parent
989d0d33e3
commit
9a2e262fc3
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 10 08:19:29 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Fixup the fix for boo#1152105: don't hard require(preun/post)
|
||||
/sbin/install-info, but relay again on %install_info_prereq
|
||||
macro. But limit this and the info packages preun/post script
|
||||
to suse_version <= 1500. Later versions use file triggers for
|
||||
info pages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 2 16:32:53 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -219,8 +219,10 @@ files are pre-byte compiled and therefore not necessary.
|
||||
%package -n emacs-info
|
||||
Summary: Info files for GNU Emacs
|
||||
Group: Productivity/Text/Editors
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
%if 0%{?suse_version} <= 1500
|
||||
Requires(post): %install_info_prereq
|
||||
Requires(preun): %install_info_prereq
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n emacs-info
|
||||
@ -645,6 +647,7 @@ if test -e usr/share/emacs/site-lisp/auctex/font-latex.elc ; then
|
||||
cd $owd
|
||||
fi
|
||||
|
||||
%if 0%{?suse_version} <= 1500
|
||||
%post info
|
||||
for f in %info_files; do
|
||||
test "$f" = "info.info" && continue
|
||||
@ -658,6 +661,7 @@ for f in %info_files; do
|
||||
test -e "$f" || f="${f}.info"
|
||||
%install_info_delete --info-dir=%{_infodir} "%{_infodir}/$f.gz"
|
||||
done
|
||||
%endif
|
||||
|
||||
%post -n etags
|
||||
test -L %{_bindir}/ctags || rm -f %{_bindir}/ctags
|
||||
|
Loading…
Reference in New Issue
Block a user