1
0
forked from pool/mutt

Add an notify message about behaviour/varaible changes to inform users about this (thanks to Roger Whittaker)

OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=203
This commit is contained in:
Dr. Werner Fink 2020-01-28 10:15:13 +00:00 committed by Git OBS Bridge
parent db79e9cc9f
commit 4493da61bf
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 28 10:13:24 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Add an notify message about behaviour/varaible changes to inform
users about this (thanks to Roger Whittaker)
-------------------------------------------------------------------
Tue Jan 14 14:53:05 UTC 2020 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package mutt
#
# Copyright (c) 2020 SUSE LLC.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -279,6 +279,12 @@ install -D -m 644 doc/manual.txt.gz %{buildroot}%{_docdir}/%name/
%if 0%{?suse_version} > 1130
%post
%mime_database_post
mkdir -p %{_localstatedir}/adm/update-messages
cat > %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-notify <<-'EOF'
With %{name}-%{version} some variables and the behaviour changes:
$send_multipart_alternative changes to run in batch mode on ask-yes.
$write_bcc changes to default off
EOF
%postun
%mime_database_postun
@ -311,6 +317,7 @@ install -D -m 644 doc/manual.txt.gz %{buildroot}%{_docdir}/%name/
%{_datadir}/mutt/mailcap
%dir %doc %{_docdir}/%name/
%doc %{_docdir}/%name/manual.txt.gz
%ghost %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-notify
%files doc
%defattr(-,root,root)