diff --git a/emacs-vm.changes b/emacs-vm.changes index db58766..4205f26 100644 --- a/emacs-vm.changes +++ b/emacs-vm.changes @@ -1,11 +1,13 @@ ------------------------------------------------------------------- Wed Mar 29 05:10:07 UTC 2023 - Egbert Eich -- Update to latest launchpad version. +- Update to latest launchpad trunk version. Delete obsolete patches: * U_rev-1313.patch * U_Require-vm-reply.el-from-vm-compose-mail.patch - Add: vcard-Make-vcard-parser-more-robust-to-invalid-vcards.patch +- Fix vcard parser to handle broken vcards better + vcard-Make-vcard-parser-more-robust-to-invalid-vcards.patch +- Limit %install_info and %install_info_delete macros to Leap/SLE. ------------------------------------------------------------------- Thu Dec 7 12:43:45 UTC 2017 - mpluskal@suse.com diff --git a/emacs-vm.spec b/emacs-vm.spec index a3a2790..a0641c6 100644 --- a/emacs-vm.spec +++ b/emacs-vm.spec @@ -23,7 +23,7 @@ Summary: VM - a mail reader for GNU Emacs License: GPL-2.0+ Group: Productivity/Text/Editors Url: http://www.nongnu.org/viewmail/ -#Source: https://launchpad.net/vm/8.2.x/%{version}/+download/vm-%{version}.tgz +# This is Launchpad trunk https://launchpad.net/vm/trunk - thus no URI, sorry. Source: vm-%{version}.tgz Source2: emacs-vm-autoload.el # PATCH-FIX-UPSTREAM U_rev-1313.patch bsc#939497 eich@suse.com -- Fix Launchpad lp#793541 and lp#907286 @@ -34,8 +34,10 @@ BuildRequires: emacs-nox BuildRequires: makeinfo Requires: ed Requires: emacs +%if 0%{?suse_version} < 1500 Requires(post): %{install_info_prereq} Requires(pre): %{install_info_prereq} +%endif %description VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read @@ -77,11 +79,13 @@ mkdir -p %{buildroot} echo ";; %{_datadir}/emacs/site-lisp/suse-start-%{name}.el ends here" } > %{buildroot}%{_sitedir}/suse-start-%{name}.el +%if 0%{?suse_version} < 1500 %post %install_info --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info} %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info} +%endif %files %docdir %{_vmdocdir}