Hello community, here is the log from the commit of package libquvi for openSUSE:Factory checked in at 2015-07-05 18:00:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libquvi (Old) and /work/SRC/openSUSE:Factory/.libquvi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libquvi" Changes: -------- --- /work/SRC/openSUSE:Factory/libquvi/libquvi.changes 2014-02-12 11:09:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libquvi.new/libquvi.changes 2015-07-05 18:00:24.000000000 +0200 @@ -1,0 +2,16 @@ +Tue Mar 10 13:00:17 CET 2015 - sbra...@suse.cz + +- 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 +- Add libquvi.rpmlintrc to spec file and update skipped checks. + +------------------------------------------------------------------- +Tue Mar 10 10:30:51 UTC 2015 - pgaj...@suse.com + +- no build date [bnc#916338] + + libquvi-fake-build-date.patch + +------------------------------------------------------------------- Old: ---- libquvi-rpmlintrc New: ---- libquvi-stable-build-date.patch libquvi.rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libquvi.spec ++++++ --- /var/tmp/diff_new_pack.EOCylV/_old 2015-07-05 18:00:25.000000000 +0200 +++ /var/tmp/diff_new_pack.EOCylV/_new 2015-07-05 18:00:25.000000000 +0200 @@ -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,12 @@ Group: System/Libraries Url: http://quvi.sourceforge.net/ Source: http://sourceforge.net/projects/quvi/files/0.9/libquvi/libquvi-0.9.4.tar.xz +Source1: %{name}.rpmlintrc +# PATCH-FEATURE-OPENSUSE libquvi-stable-build-date.patch sbra...@suse.cz -- Don't embed build date. Triggers rebuild. +Patch0: %{name}-stable-build-date.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRequires: lua-devel # For pkgconfig() Provides BuildRequires: libgcrypt-devel @@ -44,6 +50,9 @@ Summary: Library to parse flash media stream URLs Group: System/Libraries Recommends: libquvi-scripts +# Up to openSUSE 13.2 and SLE 12 *.so files were in the main package. Now it does not exist. +Provides: libquvi = %{version}-%{release} +Obsoletes: libquvi < %{version}-%{release} %description -n libquvi%{soname} libquvi is a cross-platform library for parsing flash media stream @@ -52,7 +61,7 @@ %package devel Summary: Library to parse flash media stream URLs -- Development Files Group: Development/Libraries/C and C++ -Requires: libquvi = %{version} +Requires: libquvi%{soname} = %{version} %description devel libquvi is a cross-platform library for parsing flash media stream @@ -60,9 +69,15 @@ %prep %setup -q +if test -f %{_sourcedir}/%{name}.changes ; then +%patch0 +echo "timestamp for BUILD_TIME" >stamp-build-time +touch -d "$(sed -n '2s/ - .*$//p' <%{_sourcedir}/%{name}.changes)" stamp-build-time +fi %build export CFLAGS="%{optflags} -DLUA_COMPAT_MODULE" +autoreconf -f -i %configure \ --disable-static make %{?_smp_mflags} @@ -71,11 +86,11 @@ %make_install find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print -%post -p /sbin/ldconfig +%post -n libquvi%{soname} -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libquvi%{soname} -p /sbin/ldconfig -%files +%files -n libquvi%{soname} %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %{_libdir}/*.so ++++++ libquvi-stable-build-date.patch ++++++ 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" ++++++ libquvi-rpmlintrc -> libquvi.rpmlintrc ++++++ --- /work/SRC/openSUSE:Factory/libquvi/libquvi-rpmlintrc 2013-08-30 11:42:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libquvi.new/libquvi.rpmlintrc 2015-07-05 18:00:24.000000000 +0200 @@ -1 +1,6 @@ -addFilter("shlib-policy-name-error") +# It is versioned, but in a very non-standard way. +# See changes comment dated Wed Aug 14 09:08:35 UTC 2013. +addFilter("shlib-unversioned-lib") +# Upstream project has lib in its name and contains library. +# False match, probably due to a non-standard library name. +addFilter("shlib-policy-missing-lib")