Hello community,

here is the log from the commit of package vlc for openSUSE:Factory checked in 
at 2015-02-12 10:19:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vlc (Old)
 and      /work/SRC/openSUSE:Factory/.vlc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vlc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/vlc/vlc.changes  2015-01-25 21:15:39.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.vlc.new/vlc.changes     2015-02-12 
10:19:28.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Feb  4 10:11:09 UTC 2015 - [email protected]
+
+- Add vlc.changes as source so that we can reliably access it
+  during build, even when using the .src.rpm.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vlc.spec ++++++
--- /var/tmp/diff_new_pack.f7RdZa/_old  2015-02-12 10:19:29.000000000 +0100
+++ /var/tmp/diff_new_pack.f7RdZa/_new  2015-02-12 10:19:29.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vlc
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands
 #
 # All modifications and additions to the file contributed by third parties
@@ -41,6 +41,8 @@
 Release:        0
 Url:            http://www.videolan.org/
 Source:         
http://download.videolan.org/%{name}/%{version}/%{name}-%{version}.tar.xz
+# Add vlc.changes as source, so we can reproducibly extract the date from it 
during build
+Source1:        %{name}.changes
 # PATCH-FIX-OPENSUSE vlc-2.1.5-fix-skins2-default-skin-creation.patch -- see 
description in patch header 
 Patch1:         vlc-2.1.5-fix-skins2-default-skin-creation.patch
 # PATCH-FIX-UPSTREAM vlc-CVE-2014-9625.patch boo#914268 CVE-2014-9625 
[email protected] -- Fix various buffer overflows and null ptr deref
@@ -308,8 +310,8 @@
 rm -rf contrib
 # fix builddate info
 # Remove build time references so build-compare can do its work
-FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
-FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
+FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{S:1} '+%%H:%%M')
+FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{S:1} '+%%b %%e %%Y')
 sed -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" -i modules/gui/qt4/dialogs/help.cpp 
src/config/help.c
 sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i modules/gui/qt4/dialogs/help.cpp 
src/config/help.c
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to