libquvi/libquvi-stable-build-date.patch
Stanislav Brabec a13f3cd9c4 - Move shared library to libquvi%{soname} to conform to Shared
Library Packaging Policy and allow parallel installation of more
  versions even without multiversion.
- Use last change date instead of build date.
  libquvi-fake-build-date.patch -> libquvi-stable-build-date.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquvi?expand=0&rev=17
2015-03-10 12:05:05 +00:00

14 lines
566 B
Diff

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -71,7 +71,7 @@ AS_IF([test x"$A2X" = "xno" && test -d "
AC_MSG_ERROR([a2x is required to create man pages when building from git])])
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=`TZ=UTC $DATE -r stamp-build-time +"%F %T %z"`])
AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time])
BUILD_TIME="$build_time"