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
This commit is contained in:
Stanislav Brabec 2015-03-10 10:48:35 +00:00 committed by Git OBS Bridge
parent 3de0e2d3cd
commit f4d656841c
3 changed files with 23 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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"