- Update to latest launchpad trunk version.

- 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.

OBS-URL: https://build.opensuse.org/package/show/editors/emacs-vm?expand=0&rev=23
This commit is contained in:
Egbert Eich 2023-03-29 12:40:45 +00:00 committed by Git OBS Bridge
parent 780cae0ca0
commit 3948f9d1ee
2 changed files with 9 additions and 3 deletions

View File

@ -1,11 +1,13 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 29 05:10:07 UTC 2023 - Egbert Eich <eich@suse.com> Wed Mar 29 05:10:07 UTC 2023 - Egbert Eich <eich@suse.com>
- Update to latest launchpad version. - Update to latest launchpad trunk version.
Delete obsolete patches: Delete obsolete patches:
* U_rev-1313.patch * U_rev-1313.patch
* U_Require-vm-reply.el-from-vm-compose-mail.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 Thu Dec 7 12:43:45 UTC 2017 - mpluskal@suse.com

View File

@ -23,7 +23,7 @@ Summary: VM - a mail reader for GNU Emacs
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/Text/Editors Group: Productivity/Text/Editors
Url: http://www.nongnu.org/viewmail/ 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 Source: vm-%{version}.tgz
Source2: emacs-vm-autoload.el Source2: emacs-vm-autoload.el
# PATCH-FIX-UPSTREAM U_rev-1313.patch bsc#939497 eich@suse.com -- Fix Launchpad lp#793541 and lp#907286 # 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 BuildRequires: makeinfo
Requires: ed Requires: ed
Requires: emacs Requires: emacs
%if 0%{?suse_version} < 1500
Requires(post): %{install_info_prereq} Requires(post): %{install_info_prereq}
Requires(pre): %{install_info_prereq} Requires(pre): %{install_info_prereq}
%endif
%description %description
VM (View Mail) is an Emacs subsystem that allows UNIX mail to be read 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" echo ";; %{_datadir}/emacs/site-lisp/suse-start-%{name}.el ends here"
} > %{buildroot}%{_sitedir}/suse-start-%{name}.el } > %{buildroot}%{_sitedir}/suse-start-%{name}.el
%if 0%{?suse_version} < 1500
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info} %install_info --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info}
%preun %preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info} %install_info_delete --info-dir=%{_infodir} %{_infodir}/vm.info%{ext_info}
%endif
%files %files
%docdir %{_vmdocdir} %docdir %{_vmdocdir}