Hello community, here is the log from the commit of package duperemove for openSUSE:Factory checked in at 2015-01-30 15:07:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/duperemove (Old) and /work/SRC/openSUSE:Factory/.duperemove.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "duperemove" Changes: -------- --- /work/SRC/openSUSE:Factory/duperemove/duperemove.changes 2015-01-20 19:04:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.duperemove.new/duperemove.changes 2015-01-30 15:08:04.000000000 +0100 @@ -1,0 +2,10 @@ +Thu Jan 29 20:17:58 UTC 2015 - mfas...@suse.com + +- Update to duperemove v0.09 + - start with first node in free_compare_tree + - fix small typos in duperemove man page + - add test_progs variable in Makefile +- References: bsc#915354 FATE#318171 +- Removed patch: do-not-install-test-binary.patch + +------------------------------------------------------------------- Old: ---- do-not-install-test-binary.patch v0.09.beta5.tar.gz New: ---- v0.09.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ duperemove.spec ++++++ --- /var/tmp/diff_new_pack.HGydoP/_old 2015-01-30 15:08:05.000000000 +0100 +++ /var/tmp/diff_new_pack.HGydoP/_new 2015-01-30 15:08:05.000000000 +0100 @@ -16,18 +16,16 @@ # -%define tar_version 0.09.beta5 +%define tar_version 0.09 %define samename btrfs-extent-same Name: duperemove -Version: 0.09~beta5 +Version: 0.09 Release: 0 Summary: Software to find duplicate extents in files and remove them License: GPL-2.0 Group: System/Filesystems Url: https://github.com/markfasheh/duperemove Source: https://github.com/markfasheh/%{name}/archive/v%{tar_version}.tar.gz -# PATCH-FIX-UPSTREAM: do not install test binary which is not really needed -Patch0: do-not-install-test-binary.patch BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: libgcrypt-devel @@ -52,7 +50,6 @@ -e 's:DESTDIR =:DESTDIR ?=:g' \ -e 's:%{_prefix}/local:/usr:g' \ Makefile -%patch0 -p1 %build make %{?_smp_mflags} CFLAGS="%{optflags}" ++++++ v0.09.beta5.tar.gz -> v0.09.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/duperemove-0.09.beta5/Makefile new/duperemove-0.09/Makefile --- old/duperemove-0.09.beta5/Makefile 2014-12-09 04:16:40.000000000 +0100 +++ new/duperemove-0.09/Makefile 2015-01-29 20:27:52.000000000 +0100 @@ -1,4 +1,4 @@ -RELEASE=v0.09.beta5 +RELEASE=v0.09 CC = gcc CFLAGS = -Wall -ggdb @@ -40,7 +40,8 @@ show_shared_obj = rbtree.o util.o csum_test_obj = $(crypt_obj) util.o -progs = duperemove hashstats btrfs-extent-same show-shared-extents csum-test +progs = duperemove hashstats btrfs-extent-same show-shared-extents +test_progs = csum-test glib_CFLAGS=$(shell pkg-config --cflags glib-2.0) glib_LIBS=$(shell pkg-config --libs glib-2.0) @@ -58,7 +59,7 @@ .c.o: $(CC) $(CFLAGS) -c $< -o $@ $(LIBRARY_FLAGS) -all: $(progs) +all: $(progs) $(test_progs) #TODO: Replace this with an auto-dependency $(objects): $(HEADERS) duperemove: $(objects) @@ -93,4 +94,4 @@ $(CC) $(CFLAGS) $(hashstats_obj) hashstats.c -o hashstats $(LIBRARY_FLAGS) clean: - rm -fr $(objects) $(progs) $(DIST_TARBALL) btrfs-extent-same filerec-test show-shared-extents hashstats csum-*.o *~ + rm -fr $(objects) $(progs) $(test_progs) $(DIST_TARBALL) btrfs-extent-same filerec-test show-shared-extents hashstats csum-*.o *~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/duperemove-0.09.beta5/duperemove.8 new/duperemove-0.09/duperemove.8 --- old/duperemove-0.09.beta5/duperemove.8 2014-12-09 04:16:40.000000000 +0100 +++ new/duperemove-0.09/duperemove.8 2015-01-29 20:27:52.000000000 +0100 @@ -46,7 +46,7 @@ .SH "OPTIONS" \fIfiles\fR can refer to a list of regular files and directories. If a -directory is specified, all regular files within it will be also +directory is specified, all regular files within it will also be scanned. .TP @@ -59,7 +59,7 @@ .TP \fB\-A\fR -Opens files readonly when deduping. Primarily for us by privileged +Opens files readonly when deduping. Primarily for use by privileged users on readonly snapshots. .TP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/duperemove-0.09.beta5/filerec.c new/duperemove-0.09/filerec.c --- old/duperemove-0.09.beta5/filerec.c 2014-12-09 04:16:40.000000000 +0100 +++ new/duperemove-0.09/filerec.c 2015-01-29 20:27:52.000000000 +0100 @@ -147,7 +147,7 @@ static void free_compared_tree(struct filerec *file) { - struct rb_node *n = file->comparisons.rb_node; + struct rb_node *n = rb_first(&file->comparisons); struct filerec_token *t; while (n) { @@ -156,6 +156,8 @@ rb_erase(&t->t_node, &file->comparisons); filerec_token_free(t); } + + abort_on(!RB_EMPTY_ROOT(&file->comparisons)); } static int cmp_filerecs(struct filerec *file1, uint64_t file2_inum, -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org