Move Muttrc from /etc/ to /usr/share/mutt
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=269
This commit is contained in:
parent
ea3df6e017
commit
26267a6142
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 09:53:45 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Only suggest smtp daemon at runtime. Nevertheless if not
|
||||
installed user will face a a warning.
|
||||
- Move /etc/Muttrc to /usr/share/mutt/Muttrc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 9 07:41:57 UTC 2023 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mutt
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -82,7 +82,7 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: smtp_daemon
|
||||
%endif
|
||||
Requires: glibc-locale
|
||||
Requires: smtp_daemon
|
||||
Suggests: smtp_daemon
|
||||
Requires(post): %{_bindir}/cat
|
||||
Requires(post): %{_bindir}/mkdir
|
||||
Requires(postun):%{_bindir}/rm
|
||||
@ -287,7 +287,7 @@ install -D -m 644 %{SOURCE9} %{buildroot}%{_datadir}/%{name}/mailcap
|
||||
rm -vf %{buildroot}%{_docdir}/%{name}/manual.txt
|
||||
install -D -m 644 doc/manual.txt.gz %{buildroot}%{_docdir}/%{name}/
|
||||
|
||||
sed -rn '/Command formats for gpg/,$p' %{SOURCE5} >> %{buildroot}%{_sysconfdir}/Muttrc
|
||||
sed -rn '/Command formats for gpg/,$p' %{SOURCE5} >> %{buildroot}%{_datadir}/%{name}/Muttrc
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file mutt
|
||||
@ -335,7 +335,6 @@ rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-notify
|
||||
|
||||
%files
|
||||
%config(noreplace) %{_sysconfdir}/skel/.muttrc
|
||||
%config(noreplace) %{_sysconfdir}/Muttrc
|
||||
%{_bindir}/mutt
|
||||
%{_bindir}/pgpewrap
|
||||
%{_bindir}/mutt_pgpring
|
||||
@ -353,6 +352,7 @@ rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-notify
|
||||
%{_datadir}/mutt/mailcap
|
||||
%dir %doc %{_docdir}/%{name}/
|
||||
%doc %{_docdir}/%{name}/manual.txt.gz
|
||||
%{_datadir}/%{name}/Muttrc
|
||||
%if 0%{suse_version} >= 1500
|
||||
%{_docdir}/%{name}/mutt_oauth2.py
|
||||
%{_docdir}/%{name}/mutt_oauth2.py.README
|
||||
|
Loading…
Reference in New Issue
Block a user