SHA256
1
0
forked from pool/quvi

Accepting request 451872 from multimedia:libs

1

OBS-URL: https://build.opensuse.org/request/show/451872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quvi?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2017-01-24 09:39:40 +00:00 committed by Git OBS Bridge
commit 33a99f75f3
3 changed files with 35 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 22 19:09:11 UTC 2017 - bwiedemann@suse.com
- Add reproducible.patch to allow for reproducible builds
-------------------------------------------------------------------
Mon Feb 10 19:28:55 UTC 2014 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package quvi
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -24,6 +24,8 @@ License: LGPL-2.1+
Group: Productivity/Multimedia/Other
Url: http://quvi.sourceforge.net/
Source: http://sourceforge.net/projects/quvi/files/0.9/quvi/quvi-0.9.5.tar.xz
# PATCH-FIX-OPENSUSE
Patch0: reproducible.patch
BuildRequires: pkg-config
BuildRequires: pkgconfig(glib-2.0) >= 2.24
BuildRequires: pkgconfig(gobject-2.0) >= 2.24
@ -39,6 +41,7 @@ It supports many websites including YouTube and Dailymotion.
%prep
%setup -q
%patch0 -p1
%build
%configure \

26
reproducible.patch Normal file
View File

@ -0,0 +1,26 @@
Index: quvi-0.9.5/configure.ac
===================================================================
--- quvi-0.9.5.orig/configure.ac
+++ quvi-0.9.5/configure.ac
@@ -47,7 +47,7 @@ AC_DEFINE_UNQUOTED([CFLAGS], "$CFLAGS",
AC_DEFINE_UNQUOTED([CC], "$CC", [Define to compiler])
AC_PATH_PROG([DATE], [date], [no])
-AS_IF([test x"$DATE" != "xno"], [build_time=`$DATE +"%F %T %z"`])
+AS_IF([test x"$DATE" != "xno"], [build_time='see rpm -qi quvi'])
AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time])
AC_PATH_PROG([A2X], [a2x], [no])
Index: quvi-0.9.5/configure
===================================================================
--- quvi-0.9.5.orig/configure
+++ quvi-0.9.5/configure
@@ -14580,7 +14580,7 @@ fi
if test x"$DATE" != "xno"; then :
- build_time=`$DATE +"%F %T %z"`
+ build_time='see rpm -qi quvi'
fi
cat >>confdefs.h <<_ACEOF