Hello community,

here is the log from the commit of package snapper for openSUSE:Factory checked 
in at 2014-09-17 21:24:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/snapper (Old)
 and      /work/SRC/openSUSE:Factory/.snapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "snapper"

Changes:
--------
--- /work/SRC/openSUSE:Factory/snapper/snapper.changes  2014-09-08 
21:28:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.snapper.new/snapper.changes     2014-09-17 
21:24:56.000000000 +0200
@@ -4,0 +5 @@
+- version 0.2.4

Old:
----
  snapper-0.2.3.tar.bz2

New:
----
  snapper-0.2.4.tar.bz2

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

Other differences:
------------------
++++++ snapper.spec ++++++
--- /var/tmp/diff_new_pack.28McyB/_old  2014-09-17 21:24:57.000000000 +0200
+++ /var/tmp/diff_new_pack.28McyB/_new  2014-09-17 21:24:57.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           snapper
-Version:        0.2.3
+Version:        0.2.4
 Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source:         snapper-%{version}.tar.bz2

++++++ snapper-0.2.3.tar.bz2 -> snapper-0.2.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/VERSION new/snapper-0.2.4/VERSION
--- old/snapper-0.2.3/VERSION   2014-06-24 11:07:29.000000000 +0200
+++ new/snapper-0.2.4/VERSION   2014-09-15 11:42:45.000000000 +0200
@@ -1 +1 @@
-0.2.3
+0.2.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/client/snapper.cc 
new/snapper-0.2.4/client/snapper.cc
--- old/snapper-0.2.3/client/snapper.cc 2014-07-01 11:10:53.000000000 +0200
+++ new/snapper-0.2.4/client/snapper.cc 2014-09-12 11:53:52.000000000 +0200
@@ -1588,7 +1588,8 @@
 
     if ((opt = opts.find("version")) != opts.end())
     {
-       cout << "snapper " << VERSION << endl;
+       cout << "snapper " << Snapper::compileVersion() << endl;
+       cout << "flags " << Snapper::compileFlags() << endl;
        exit(EXIT_SUCCESS);
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/server/Client.cc 
new/snapper-0.2.4/server/Client.cc
--- old/snapper-0.2.3/server/Client.cc  2014-08-01 09:54:24.000000000 +0200
+++ new/snapper-0.2.4/server/Client.cc  2014-09-12 11:53:52.000000000 +0200
@@ -1367,25 +1367,8 @@
     }
 
     hoho << "compile options:";
-    hoho << "  VERSION " VERSION;
-#ifdef ENABLE_BTRFS
-    hoho << "  ENABLE_BTRFS";
-#endif
-#ifdef ENABLE_LVM
-    hoho << "  ENABLE_LVM";
-#endif
-#ifdef ENABLE_EXT4
-    hoho << "  ENABLE_EXT4";
-#endif
-#ifdef ENABLE_XATTRS
-    hoho << "  ENABLE_XATTRS";
-#endif
-#ifdef ENABLE_ROLLBACK
-    hoho << "  ENABLE_ROLLBACK";
-#endif
-#ifdef HAVE_LIBBTRFS
-    hoho << "  HAVE_LIBBTRFS";
-#endif
+    hoho << "    version " + string(Snapper::compileVersion());
+    hoho << "    flags " + string(Snapper::compileFlags());
 
     hoho.close_array();
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/snapper/Snapper.cc 
new/snapper-0.2.4/snapper/Snapper.cc
--- old/snapper-0.2.3/snapper/Snapper.cc        2014-09-01 15:40:38.000000000 
+0200
+++ new/snapper-0.2.4/snapper/Snapper.cc        2014-09-12 11:53:52.000000000 
+0200
@@ -728,4 +728,50 @@
        return !best_match.empty();
     }
 
+
+    const char*
+    Snapper::compileVersion()
+    {
+       return VERSION;
+    }
+
+
+    const char*
+    Snapper::compileFlags()
+    {
+       return
+
+#ifndef ENABLE_BTRFS
+           "no-"
+#endif
+           "btrfs,"
+
+#ifndef ENABLE_LVM
+           "no-"
+#endif
+           "lvm,"
+
+#ifndef ENABLE_EXT4
+           "no-"
+#endif
+           "ext4,"
+
+#ifndef ENABLE_XATTRS
+           "no-"
+#endif
+           "xattrs,"
+
+#ifndef ENABLE_ROLLBACK
+           "no-"
+#endif
+           "rollback,"
+
+#ifndef ENABLE_BTRFS_QUOTA
+           "no-"
+#endif
+           "btrfs-quota"
+
+           ;
+    }
+
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/snapper-0.2.3/snapper/Snapper.h 
new/snapper-0.2.4/snapper/Snapper.h
--- old/snapper-0.2.3/snapper/Snapper.h 2014-04-10 12:28:10.000000000 +0200
+++ new/snapper-0.2.4/snapper/Snapper.h 2014-09-12 11:53:52.000000000 +0200
@@ -170,6 +170,9 @@
 
        void syncAcl() const;
 
+       static const char* compileVersion();
+       static const char* compileFlags();
+
     private:
 
        void filter1(list<Snapshots::iterator>& tmp, time_t min_age);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to