Hello community,

here is the log from the commit of package libqb for openSUSE:Factory checked 
in at 2013-12-03 14:26:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqb (Old)
 and      /work/SRC/openSUSE:Factory/.libqb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqb"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqb/libqb.changes      2013-11-12 
15:10:39.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libqb.new/libqb.changes 2013-12-03 
14:26:17.000000000 +0100
@@ -1,0 +2,14 @@
+Mon Nov 25 14:30:05 UTC 2013 - [email protected]
+
+- New api function to retrieve client buffer size
+- Enforce buffer size limits on the server side
+- Filter logs using regex patter on function, format, or filename
+- Upstream version cs: b09473fd4a03b4434efd44408f7ae631a855f9cd
+
+-------------------------------------------------------------------
+Sat Nov 16 13:00:12 UTC 2013 - [email protected]
+
+- Add libqb-configure-package-version.patch
+  * Build: Generate PACKAGE_VERSION according to the basename of the top 
directory
+
+-------------------------------------------------------------------

Old:
----
  libqb.tar.bz2

New:
----
  libqb-0.16.0+git20131118.b09473f.tar.bz2
  libqb-configure-package-version.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libqb.spec ++++++
--- /var/tmp/diff_new_pack.jO8b0O/_old  2013-12-03 14:26:17.000000000 +0100
+++ /var/tmp/diff_new_pack.jO8b0O/_new  2013-12-03 14:26:17.000000000 +0100
@@ -17,13 +17,14 @@
 
 
 Name:           libqb
-Version:        0.16.0.21
+Version:        0.16.0+git20131118.b09473f
 Release:        0
 Summary:        An IPC library for high performance servers
 License:        LGPL-2.1+
 Group:          System/Libraries
 Url:            https://github.com/ClusterLabs/libqb
-Source0:        %{name}.tar.bz2
+Source0:        %{name}-%{version}.tar.bz2
+Patch1:         libqb-configure-package-version.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  autoconf
@@ -64,7 +65,8 @@
 tracing, ipc, and poll.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{version}
+%patch1 -p1
 
 %build
 ./autogen.sh

++++++ _service ++++++
--- /var/tmp/diff_new_pack.jO8b0O/_old  2013-12-03 14:26:17.000000000 +0100
+++ /var/tmp/diff_new_pack.jO8b0O/_new  2013-12-03 14:26:17.000000000 +0100
@@ -3,12 +3,15 @@
     <param name="scm">git</param>
     <param name="url">git://github.com/ClusterLabs/libqb.git</param>
     <param name="package-meta">yes</param>
+    <param name="exclude">.git</param>
 <!--
     To update to a new release, change "revision" to the desired
     git commit hash and bump "version" if necessary
--->
+
     <param name="version">0.16.0</param>
-    <param name="revision">b4c36efff8b91f287da87590911a01184243cf64</param>
+-->
+    <param name="versionformat">0.16.0+git%cd.%h</param>
+    <param name="revision">b09473fd4a03b4434efd44408f7ae631a855f9cd</param>
   </service>
 
   <service name="recompress" mode="disabled">

++++++ libqb-configure-package-version.patch ++++++
diff --git a/configure.ac b/configure.ac
index a4dc7c0..e0a5c92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,19 @@ AC_CANONICAL_HOST
 AC_PROG_LIBTOOL
 AC_LANG([C])
 
+
+if test $PACKAGE_VERSION = "UNKNOWN"; then
+    # The current directory name make a reasonable default
+    # Most generated archives will include the hash or tag
+    BASE=`basename $PWD`
+    PACKAGE_VERSION=`echo $BASE | sed s:.*[[Ll]]ibqb-::`
+    AC_MSG_RESULT(directory based hash: $PACKAGE_VERSION)
+
+    AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)
+    AC_DEFINE_UNQUOTED(PACKAGE_VERSION, "$PACKAGE_VERSION", Current libqb 
version)
+    AC_SUBST(PACKAGE_VERSION)
+fi
+
 dnl Fix default variables - "prefix" variable if not specified
 if test "$prefix" = "NONE"; then
        prefix="/usr"
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to