Accepting request 290420 from editors
- Move deinstall of info files from %postun to %preun (boo#921948) OBS-URL: https://build.opensuse.org/request/show/290420 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=115
This commit is contained in:
commit
87cf8e4f23
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 12 10:58:34 UTC 2015 - werner@suse.de
|
||||||
|
|
||||||
|
- Move deinstall of info files from %postun to %preun (boo#921948)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 24 07:08:48 UTC 2015 - meissner@suse.com
|
Tue Feb 24 07:08:48 UTC 2015 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package emacs
|
# spec file for package emacs
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -185,7 +185,7 @@ files are pre-byte compiled and therefore not necessary.
|
|||||||
Summary: Info files for GNU Emacs
|
Summary: Info files for GNU Emacs
|
||||||
Group: Productivity/Editors/Emacs
|
Group: Productivity/Editors/Emacs
|
||||||
Requires(post): %install_info_prereq
|
Requires(post): %install_info_prereq
|
||||||
Requires(postun): %install_info_prereq
|
Requires(preun): %install_info_prereq
|
||||||
%if 0%{?suse_version} >= 1120
|
%if 0%{?suse_version} >= 1120
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
@ -607,7 +607,7 @@ for f in %info_files; do
|
|||||||
%install_info --info-dir=%{_infodir} "%{_infodir}/$f.gz"
|
%install_info --info-dir=%{_infodir} "%{_infodir}/$f.gz"
|
||||||
done
|
done
|
||||||
|
|
||||||
%postun info
|
%preun info
|
||||||
for f in %info_files; do
|
for f in %info_files; do
|
||||||
test -e "$f" || f="${f}.info"
|
test -e "$f" || f="${f}.info"
|
||||||
%install_info_delete --info-dir=%{_infodir} "%{_infodir}/$f.gz"
|
%install_info_delete --info-dir=%{_infodir} "%{_infodir}/$f.gz"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user