Hello community, here is the log from the commit of package msmtp for openSUSE:Factory checked in at 2018-03-14 19:38:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/msmtp (Old) and /work/SRC/openSUSE:Factory/.msmtp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "msmtp" Wed Mar 14 19:38:14 2018 rev:40 rq:585326 version:1.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/msmtp/msmtp.changes 2017-04-07 14:19:32.393167988 +0200 +++ /work/SRC/openSUSE:Factory/.msmtp.new/msmtp.changes 2018-03-14 19:38:15.766853958 +0100 @@ -1,0 +2,5 @@ +Sat Mar 10 14:05:08 UTC 2018 - [email protected] + +- fix bash scripts shebang + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ msmtp.spec ++++++ --- /var/tmp/diff_new_pack.862fL1/_old 2018-03-14 19:38:16.698820854 +0100 +++ /var/tmp/diff_new_pack.862fL1/_new 2018-03-14 19:38:16.702820712 +0100 @@ -1,7 +1,7 @@ # # spec file for package msmtp # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,7 +54,7 @@ Requires(preun):/sbin/install-info %endif Summary: Lightweight SMTP Client -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Networking/Email/Utilities Url: http://msmtp.sourceforge.net/ Source: http://prdownloads.sourceforge.net/msmtp/msmtp-%{version}.tar.xz @@ -97,6 +97,16 @@ %prep %setup -q +# fix bash scripts shebang while preserving mtime +for i in scripts/msmtpqueue/*.sh \ + scripts/msmtpq/msmtpq \ + scripts/msmtpq/msmtp-queue \ + scripts/set_sendmail/*.sh \ + scripts/find_alias/*.sh; do + sed '1 s|#!/usr/bin/env bash|#!/bin/bash|' $i > $i.new + touch -r $i $i.new + mv $i.new $i +done %build %if 0%{?suse_version} > 1000
