Accepting request 811596 from home:benoit_monin:branches:server:mail

- update to version 1.8.11:
  * Add a new undisclosed_recipients command and
    --undisclosed-recipients option to replace To, Cc, Bcc with a
    single "To: undisclosed-recipients:;" header.
  * Improved handling of temporary files on Windows systems.
  * Re-enabled support for systems lacking vasprintf(),
    such as IBM i PASE.
- spec cleaning:
  * drop reference to suse_version 10
  * use make_build and make_install macros
  * remove defattr from %files sections
  * use %license for the license file instead of doc
  * fix the man and info pages extension

OBS-URL: https://build.opensuse.org/request/show/811596
OBS-URL: https://build.opensuse.org/package/show/server:mail/msmtp?expand=0&rev=101
This commit is contained in:
Dirk Stoecker 2020-06-05 06:31:17 +00:00 committed by Git OBS Bridge
parent 14a7d31379
commit 288c2343bc
6 changed files with 27 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:caba7f39d19df7a31782fe7336dd640c61ea33b92f987bd5423bca9683482f10
size 355364

Binary file not shown.

3
msmtp-1.8.11.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f25f0fa177ce9e0ad65c127e790a37f35fb64fee9e33d90345844c5c86780e60
size 356492

BIN
msmtp-1.8.11.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Jun 4 18:18:28 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 1.8.11:
* Add a new undisclosed_recipients command and
--undisclosed-recipients option to replace To, Cc, Bcc with a
single "To: undisclosed-recipients:;" header.
* Improved handling of temporary files on Windows systems.
* Re-enabled support for systems lacking vasprintf(),
such as IBM i PASE.
- spec cleaning:
* drop reference to suse_version 10
* use make_build and make_install macros
* remove defattr from %files sections
* use %license for the license file instead of doc
* fix the man and info pages extension
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 14 12:37:47 UTC 2020 - Marcus Rueckert <mrueckert@suse.de> Thu May 14 12:37:47 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -17,7 +17,7 @@
Name: msmtp Name: msmtp
Version: 1.8.10 Version: 1.8.11
Release: 0 Release: 0
BuildRequires: gnutls-devel BuildRequires: gnutls-devel
BuildRequires: libidn2-devel BuildRequires: libidn2-devel
@ -35,15 +35,8 @@ BuildRequires: libgsasl-devel
BuildRequires: vim-common BuildRequires: vim-common
%requires_eq vim-common %requires_eq vim-common
%else %else
%if 0%{?suse_version} < 1030
# old openSUSE and SLES and Fedora and RHEL:
BuildRequires: vim
%requires_eq vim
%else
# recent openSUSE:
BuildRequires: vim-base BuildRequires: vim-base
%requires_eq vim-base %requires_eq vim-base
%endif #suse_version
%endif #centos_version %endif #centos_version
%if 0%{?suse_version} %if 0%{?suse_version}
Requires(post): %install_info_prereq Requires(post): %install_info_prereq
@ -109,15 +102,11 @@ for i in scripts/msmtpqueue/*.sh \
done done
%build %build
%if 0%{?suse_version} > 1000
CFLAGS="%{optflags} -fstack-protector -fPIE"
export LDFLAGS="-pie"
%endif
%configure --docdir="%{_docdir}/%{name}" --with-tls=gnutls --without-msmtpd --with-libgsasl %configure --docdir="%{_docdir}/%{name}" --with-tls=gnutls --without-msmtpd --with-libgsasl
make %{?_smp_mflags} V=1 %make_build
%install %install
%makeinstall V=1 %make_install V=1
%find_lang %{name} %find_lang %{name}
for i in README ChangeLog ; do for i in README ChangeLog ; do
cp scripts/msmtpqueue/$i ${i}.msmtpqueue cp scripts/msmtpqueue/$i ${i}.msmtpqueue
@ -187,9 +176,8 @@ rm -f "%{buildroot}%{_infodir}/dir"
%endif # fedora %endif # fedora
%files -f %{name}.lang %files -f %{name}.lang
%defattr (-, root, root)
%doc %dir %{_docdir}/%{name} %doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/COPYING %license %{_docdir}/%{name}/COPYING
%{_bindir}/msmtp %{_bindir}/msmtp
%{_bindir}/msmtpq %{_bindir}/msmtpq
%{_bindir}/msmtp-queue %{_bindir}/msmtp-queue
@ -198,17 +186,15 @@ rm -f "%{buildroot}%{_infodir}/dir"
%{_bindir}/msmtp-listqueue.sh %{_bindir}/msmtp-listqueue.sh
%{_bindir}/set_sendmail.sh %{_bindir}/set_sendmail.sh
%{_bindir}/find_alias_for_msmtp.sh %{_bindir}/find_alias_for_msmtp.sh
%{_mandir}/man1/msmtp.1%{ext_man} %{_mandir}/man1/msmtp.1%{?ext_man}
%{_infodir}/msmtp.info%{ext_info} %{_infodir}/msmtp.info%{?ext_info}
%{_datadir}/vim/*/syntax/msmtp.vim %{_datadir}/vim/*/syntax/msmtp.vim
%files doc -f docfiles.lst %files doc -f docfiles.lst
%defattr (-, root, root)
%doc %dir %{_docdir}/%{name} %doc %dir %{_docdir}/%{name}
%files mta %files mta
%defattr (-, root, root)
%{_sbindir}/sendmail %{_sbindir}/sendmail
%{_mandir}/man1/sendmail.1%{ext_man} %{_mandir}/man1/sendmail.1%{?ext_man}
%changelog %changelog