Hello community,

here is the log from the commit of package thin-provisioning-tools for 
openSUSE:Factory checked in at 2016-02-09 16:49:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/thin-provisioning-tools (Old)
 and      /work/SRC/openSUSE:Factory/.thin-provisioning-tools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "thin-provisioning-tools"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/thin-provisioning-tools/thin-provisioning-tools.changes
  2016-02-03 10:17:40.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.thin-provisioning-tools.new/thin-provisioning-tools.changes
     2016-02-09 16:49:17.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Feb  6 09:04:44 UTC 2016 - [email protected]
+
+- Update to 0.6.1
+  * enable builds with static cxx library
+- Make building more verbose
+
+-------------------------------------------------------------------

Old:
----
  v0.6.0.tar.gz

New:
----
  v0.6.1.tar.gz

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

Other differences:
------------------
++++++ thin-provisioning-tools.spec ++++++
--- /var/tmp/diff_new_pack.siTcKM/_old  2016-02-09 16:49:17.000000000 +0100
+++ /var/tmp/diff_new_pack.siTcKM/_new  2016-02-09 16:49:17.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           thin-provisioning-tools
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 Summary:        Thin Provisioning Tools
 License:        GPL-3.0
@@ -42,13 +42,13 @@
 %setup -q
 
 %build
-export CFLAGS="%{optflags}"
-export CXXFLAGS="%{optflags}"
 autoreconf -fiv
 %configure \
   --bindir=%{_sbindir} \
-  --with-optimisation=""
-make %{?_smp_mflags}
+  --with-optimisation="%{optflags}"
+# In generated Makefile V=@ is used, in order to achieve verbose build ve
+# must override it as V=""
+make %{?_smp_mflags} V=""
 
 %install
 make STRIP="/bin/true" DESTDIR=%{buildroot} install %{?_smp_mflags}

++++++ v0.6.0.tar.gz -> v0.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thin-provisioning-tools-0.6.0/CHANGES 
new/thin-provisioning-tools-0.6.1/CHANGES
--- old/thin-provisioning-tools-0.6.0/CHANGES   2016-01-20 19:11:48.000000000 
+0100
+++ new/thin-provisioning-tools-0.6.1/CHANGES   2016-02-04 16:29:47.000000000 
+0100
@@ -1,3 +1,8 @@
+v0.6.1
+======
+
+./configure --enable-static-cxx
+
 v0.6.0
 ======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thin-provisioning-tools-0.6.0/Makefile.in 
new/thin-provisioning-tools-0.6.1/Makefile.in
--- old/thin-provisioning-tools-0.6.0/Makefile.in       2016-01-20 
19:11:48.000000000 +0100
+++ new/thin-provisioning-tools-0.6.1/Makefile.in       2016-02-04 
16:29:47.000000000 +0100
@@ -110,8 +110,11 @@
 CXXFLAGS+=@CXXDEBUG_FLAG@
 CXXFLAGS+=@CXX_STRERROR_FLAG@
 CXXFLAGS+=@LFS_FLAGS@
+CXXFLAGS+=@STATIC_LINK_FLAGS@
+LDFLAGS+=@STATIC_LINK_FLAGS@
 INCLUDES+=-I$(TOP_BUILDDIR) -I$(TOP_DIR) -I$(TOP_DIR)/thin-provisioning
-LIBS:=-lstdc++ -laio -lexpat
+LIBS:=-laio -lexpat
+LIBS+=@DYNAMIC_LINK_FLAGS@
 INSTALL:=@INSTALL@
 PREFIX:=@prefix@
 BINDIR:=$(DESTDIR)$(PREFIX)/sbin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thin-provisioning-tools-0.6.0/VERSION 
new/thin-provisioning-tools-0.6.1/VERSION
--- old/thin-provisioning-tools-0.6.0/VERSION   2016-01-20 19:11:48.000000000 
+0100
+++ new/thin-provisioning-tools-0.6.1/VERSION   2016-02-04 16:29:47.000000000 
+0100
@@ -1 +1 @@
-0.6.0
+0.6.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/thin-provisioning-tools-0.6.0/configure.ac 
new/thin-provisioning-tools-0.6.1/configure.ac
--- old/thin-provisioning-tools-0.6.0/configure.ac      2016-01-20 
19:11:48.000000000 +0100
+++ new/thin-provisioning-tools-0.6.1/configure.ac      2016-02-04 
16:29:47.000000000 +0100
@@ -138,6 +138,22 @@
 AC_MSG_RESULT($TESTING)
 
 
################################################################################
+dnl -- Enable static libstdc++
+AC_MSG_CHECKING(whether to statically link libstdc++)
+AC_ARG_ENABLE(static_cxx,
+              AC_HELP_STRING(--enable-static-cxx, [enable static link of 
libstdc++]),
+              STATIC_CXX=$enableval, STATIC_CXX=no)
+AC_MSG_RESULT($STATIC_CXX)
+
+if test x$STATIC_CXX = xyes; then
+   STATIC_LINK_FLAGS=-static-libstdc++
+   DYNAMIC_LINK_FLAGS=
+else
+   STATIC_LINK_FLAGS=
+   DYNAMIC_LINK_FLAGS=-lstdc++
+fi
+
+################################################################################
 dnl -- Check for getopt
 AC_CHECK_HEADERS(getopt.h, AC_DEFINE([HAVE_GETOPTLONG], 1, [Define to 1 if 
getopt_long is available.]))
 
@@ -164,6 +180,8 @@
 AC_SUBST(RELEASE_DATE)
 AC_SUBST(TESTING)
 AC_SUBST(THIN_PROVISIONING_TOOLS_VERSION)
+AC_SUBST(STATIC_LINK_FLAGS)
+AC_SUBST(DYNAMIC_LINK_FLAGS)
 
 
################################################################################
 dnl -- First and last lines should not contain files to generate in order to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/thin-provisioning-tools-0.6.0/persistent-data/run_set.h 
new/thin-provisioning-tools-0.6.1/persistent-data/run_set.h
--- old/thin-provisioning-tools-0.6.0/persistent-data/run_set.h 2016-01-20 
19:11:48.000000000 +0100
+++ new/thin-provisioning-tools-0.6.1/persistent-data/run_set.h 2016-02-04 
16:29:47.000000000 +0100
@@ -100,8 +100,11 @@
                        else {
                                typename rset::const_iterator b = runs_.begin();
 
-                               // Some versions of gcc give a spurious warning 
here.
-                               maybe last = b->end_;
+                               // Some versions of gcc give a spurious
+                               // warning here.  So we initialize it to
+                               // get round it.
+                               maybe last(0);
+                               last = b->end_;
 
                                if (b->begin_)
                                        replacement.insert(run<T>(maybe(), 
*(b->begin_)));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/thin-provisioning-tools-0.6.0/thin-provisioning/thin_dump.cc 
new/thin-provisioning-tools-0.6.1/thin-provisioning/thin_dump.cc
--- old/thin-provisioning-tools-0.6.0/thin-provisioning/thin_dump.cc    
2016-01-20 19:11:48.000000000 +0100
+++ new/thin-provisioning-tools-0.6.1/thin-provisioning/thin_dump.cc    
2016-02-04 16:29:47.000000000 +0100
@@ -87,17 +87,6 @@
                } else
                        return dump_(path, cout, format, flags);
        }
-
-       void usage(ostream &out, string const &cmd) {
-               out << "Usage: " << cmd << " [options] {device|file}" << endl
-                   << "Options:" << endl
-                   << "  {-h|--help}" << endl
-                   << "  {-f|--format} {xml|human_readable}" << endl
-                   << "  {-r|--repair}" << endl
-                   << "  {-m|--metadata-snap} [block#]" << endl
-                   << "  {-o <xml file>}" << endl
-                   << "  {-V|--version}" << endl;
-       }
 }
 
 //----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/thin-provisioning-tools-0.6.0/thin-provisioning/thin_restore.cc 
new/thin-provisioning-tools-0.6.1/thin-provisioning/thin_restore.cc
--- old/thin-provisioning-tools-0.6.0/thin-provisioning/thin_restore.cc 
2016-01-20 19:11:48.000000000 +0100
+++ new/thin-provisioning-tools-0.6.1/thin-provisioning/thin_restore.cc 
2016-02-04 16:29:47.000000000 +0100
@@ -58,9 +58,6 @@
 
                return 0;
        }
-
-       void usage(ostream &out, string const &cmd) {
-       }
 }
 
 //----------------------------------------------------------------


Reply via email to