From 8833feda29856fbe84e203c9ed773b4b4a07bb93ebb2b2c71704e89804c63a6a Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Tue, 10 Mar 2015 10:48:35 +0000 Subject: [PATCH] Accepting request 290124 from home:pgajdos - no build date [bnc#916338] + libquvi-fake-build-date.patch OBS-URL: https://build.opensuse.org/request/show/290124 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquvi?expand=0&rev=16 --- libquvi-fake-build-date.patch | 13 +++++++++++++ libquvi.changes | 6 ++++++ libquvi.spec | 5 ++++- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 libquvi-fake-build-date.patch diff --git a/libquvi-fake-build-date.patch b/libquvi-fake-build-date.patch new file mode 100644 index 0000000..d5a6aec --- /dev/null +++ b/libquvi-fake-build-date.patch @@ -0,0 +1,13 @@ +Index: configure +=================================================================== +--- configure.orig 2013-11-10 08:45:43.000000000 +0100 ++++ configure 2015-03-10 11:26:07.118800252 +0100 +@@ -14716,7 +14716,7 @@ + + + if test x"$DATE" != "xno"; then : +- build_time=`$DATE +"%F %T %z"` ++ build_time="0000-00-00 00:00:00 +0000" + fi + + cat >>confdefs.h <<_ACEOF diff --git a/libquvi.changes b/libquvi.changes index c6fdeb0..7976ffc 100644 --- a/libquvi.changes +++ b/libquvi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 10 10:30:51 UTC 2015 - pgajdos@suse.com + +- no build date [bnc#916338] + + libquvi-fake-build-date.patch + ------------------------------------------------------------------- Mon Feb 10 19:32:50 UTC 2014 - dimstar@opensuse.org diff --git a/libquvi.spec b/libquvi.spec index cb75923..88f7557 100644 --- a/libquvi.spec +++ b/libquvi.spec @@ -1,7 +1,7 @@ # # spec file for package libquvi # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -26,6 +26,8 @@ License: LGPL-2.1+ Group: System/Libraries Url: http://quvi.sourceforge.net/ Source: http://sourceforge.net/projects/quvi/files/0.9/libquvi/libquvi-0.9.4.tar.xz +# suse specific +Patch0: %{name}-fake-build-date.patch BuildRequires: lua-devel # For pkgconfig() Provides BuildRequires: libgcrypt-devel @@ -60,6 +62,7 @@ URLs with C API. %prep %setup -q +%patch0 %build export CFLAGS="%{optflags} -DLUA_COMPAT_MODULE"