Hello community, here is the log from the commit of package splint for openSUSE:Factory checked in at 2017-08-22 11:08:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/splint (Old) and /work/SRC/openSUSE:Factory/.splint.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "splint" Tue Aug 22 11:08:23 2017 rev:18 rq:517350 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/splint/splint.changes 2017-07-25 11:41:36.306102242 +0200 +++ /work/SRC/openSUSE:Factory/.splint.new/splint.changes 2017-08-22 11:08:24.278716693 +0200 @@ -1,0 +2,5 @@ +Mon Aug 14 03:47:52 UTC 2017 - [email protected] + +- Add splint-3.1.2-build-date-override.patch to fix build-compare (boo#1047218) + +------------------------------------------------------------------- New: ---- splint-3.1.2-build-date-override.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ splint.spec ++++++ --- /var/tmp/diff_new_pack.ka2qqt/_old 2017-08-22 11:08:26.262437298 +0200 +++ /var/tmp/diff_new_pack.ka2qqt/_new 2017-08-22 11:08:26.266436734 +0200 @@ -26,6 +26,8 @@ Source0: http://www.splint.org/downloads/splint-%{version}.src.tgz Source1: %{name}-rpmlintrc Patch0: %{name}-3.1.2-fixes.patch +# PATCH-FIX-OPENSUSE https://github.com/ravenexp/splint/issues/8 +Patch1: splint-3.1.2-build-date-override.patch BuildRequires: flex %description @@ -36,6 +38,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %configure ++++++ splint-3.1.2-build-date-override.patch ++++++ fix build-compare (boo#1047218) https://github.com/ravenexp/splint/issues/8 --- a/configure 2015-08-28 22:32:57.307021901 +0100 --- b/configure 2015-08-28 22:38:47.655293324 +0100 @@ -3948,9 +3948,16 @@ # These used to be in herald.h LCL_PARSE_VERSION="Splint 3.1.2" +if [ -n "${SOURCE_DATE_EPOCH}" ] +then +cat >>confdefs.h <<_ACEOF +#define SPLINT_VERSION "$LCL_PARSE_VERSION --- `LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH}" +"%d %b %Y"`" +_ACEOF +else cat >>confdefs.h <<_ACEOF #define SPLINT_VERSION "$LCL_PARSE_VERSION --- `date +"%d %b %Y"`" _ACEOF +fi cat >>confdefs.h <<_ACEOF
