commit duperemove for openSUSE:Factory
Hello community, here is the log from the commit of package duperemove for openSUSE:Factory checked in at 2014-09-30 19:40:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-04-25 11:34:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.duperemove.new/duperemove.changes 2014-09-30 19:42:03.000000000 +0200 @@ -1,0 +2,14 @@ +Sat Sep 27 00:18:33 UTC 2014 - mfasheh@suse.com + +- update to duperemove v0.09.beta1 + - parallel checksum calculation + - performance improvements + - allow to store the hash tree to a file + - hashstats: new utility to analyze hash files + - add --version option + - build: add install target + - documentatin updates + +- Added patch: 001-fix-build.patch + +------------------------------------------------------------------- Old: ---- duperemove-v0.08.tar.gz New: ---- 001-fix-build.patch duperemove-v0.09.beta1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ duperemove.spec ++++++ --- /var/tmp/diff_new_pack.cgRc8W/_old 2014-09-30 19:42:03.000000000 +0200 +++ /var/tmp/diff_new_pack.cgRc8W/_new 2014-09-30 19:42:03.000000000 +0200 @@ -17,18 +17,21 @@ %define modname duperemove +%define tar_version v0.09.beta1 Name: duperemove BuildRequires: gcc-c++ +BuildRequires: glib2-devel BuildRequires: libgcrypt-devel -Version: 0.08 +Version: 0.09~beta1 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: %{modname}-v%{version}.tar.gz +Source: %{modname}-%{tar_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch1: 001-fix-build.patch %description Duperemove finds duplicate extents in files and prints them to the @@ -44,19 +47,22 @@ Debug/Test tool to exercise a btrfs ioctl for deduplicating file regions. %prep -%setup -q -n %{modname}-v%{version} +%setup -q -n %{modname}-%{tar_version} +%patch1 -p1 %build make +make hashstats make btrfs-extent-same %install mkdir -p %{buildroot}/%{_sbindir} -cp %{_builddir}/%{modname}-v%{version}/%{modname} %{buildroot}/%{_sbindir} -cp %{_builddir}/%{modname}-v%{version}/%{samename} %{buildroot}/%{_sbindir} +cp %{_builddir}/%{modname}-%{tar_version}/%{modname} %{buildroot}/%{_sbindir} +cp %{_builddir}/%{modname}-%{tar_version}/hashstats %{buildroot}/%{_sbindir} +cp %{_builddir}/%{modname}-%{tar_version}/%{samename} %{buildroot}/%{_sbindir} mkdir -p %{buildroot}%{_mandir}/man8 -cp %{_builddir}/%{modname}-v%{version}/%{modname}.8 %{buildroot}/%{_mandir}/man8/ -cp %{_builddir}/%{modname}-v%{version}/%{samename}.8 %{buildroot}/%{_mandir}/man8/ +cp %{_builddir}/%{modname}-%{tar_version}/%{modname}.8 %{buildroot}/%{_mandir}/man8/ +cp %{_builddir}/%{modname}-%{tar_version}/%{samename}.8 %{buildroot}/%{_mandir}/man8/ %files -n btrfs-extent-same %defattr(-, root, root) @@ -67,6 +73,7 @@ %defattr(-, root, root) %doc LICENSE README %{_sbindir}/duperemove +%{_sbindir}/hashstats %{_mandir}/man?/%{modname}.8.gz %changelog ++++++ 001-fix-build.patch ++++++ From: Mark Fasheh <mfasheh@suse.de> Date: Fri Sep 26 17:20:07 PDT 2014 Subject: Fix build We need to have LIBRARY_FLAGS at the end of the build line for this to build correctly. Signed-off-by: Mark Fasheh <mfasheh@suse.de> Index: duperemove-v0.09.beta1/Makefile =================================================================== --- duperemove-v0.09.beta1.orig/Makefile +++ duperemove-v0.09.beta1/Makefile @@ -38,7 +38,7 @@ MANDIR = $(SHAREDIR)/man all: $(progs) kernel.h list.h btrfs-ioctl.h debug.h duperemove: $(objects) kernel.h duperemove.c - $(CC) $(LIBRARY_FLAGS) $(CFLAGS) $(objects) -o duperemove + $(CC) $(CFLAGS) $(objects) -o duperemove $(LIBRARY_FLAGS) tarball: clean mkdir -p $(TEMP_INSTALL_DIR)/$(DIST) @@ -60,14 +60,14 @@ install: $(progs) $(MANPAGES) done csum-test: $(hash_obj) csum-test.c - $(CC) $(LIBRARY_FLAGS) $(CFLAGS) $(hash_obj) -o csum-test csum-test.c + $(CC) $(CFLAGS) $(hash_obj) -o csum-test csum-test.c $(LIBRARY_FLAGS) filerec-test: filerec.c filerec.h rbtree.o - $(CC) $(LIBRARY_FLAGS) $(CFLAGS) -DFILEREC_TEST filerec.c rbtree.o -o filerec-test + $(CC) $(CFLAGS) -DFILEREC_TEST filerec.c rbtree.o -o filerec-test $(LIBRARY_FLAGS) hashstats_obj = $(hash_obj) rbtree.o hash-tree.o filerec.o util.o serialize.o results-tree.o hashstats: $(hashstats_obj) hashstats.c - $(CC) $(LIBRARY_FLAGS) $(CFLAGS) $(hashstats_obj) hashstats.c -o hashstats + $(CC) $(CFLAGS) $(hashstats_obj) hashstats.c -o hashstats $(LIBRARY_FLAGS) clean: rm -fr $(objects) $(progs) $(DIST_TARBALL) btrfs-extent-same filerec-test hashstats csum-*.o *~ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de