Hello community, here is the log from the commit of package duperemove for openSUSE:Factory checked in at 2016-04-08 09:39:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-10-14 16:45:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.duperemove.new/duperemove.changes 2016-04-08 09:39:31.000000000 +0200 @@ -1,0 +2,7 @@ +Sat Apr 2 13:43:23 UTC 2016 - [email protected] + +- Use pretty name for tarball +- Cleanup spec file with spec-cleaner +- Use pkgconfig style dependnencies + +------------------------------------------------------------------- Old: ---- v0.10.tar.gz New: ---- duperemove-0.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ duperemove.spec ++++++ --- /var/tmp/diff_new_pack.NehQmQ/_old 2016-04-08 09:39:32.000000000 +0200 +++ /var/tmp/diff_new_pack.NehQmQ/_new 2016-04-08 09:39:32.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package duperemove # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%define tar_version 0.10 %define samename btrfs-extent-same Name: duperemove Version: 0.10 @@ -25,10 +24,11 @@ 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 +Source: https://github.com/markfasheh/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ -BuildRequires: glib2-devel -BuildRequires: sqlite3-devel +BuildRequires: pkg-config +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(sqlite3) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -44,27 +44,22 @@ Debug/Test tool to exercise a btrfs ioctl for deduplicating file regions. %prep -%setup -q -n %{name}-%{tar_version} -# Set the destdir / prefix -sed -i \ - -e 's:DESTDIR =:DESTDIR ?=:g' \ - -e 's:%{_prefix}/local:/usr:g' \ - Makefile +%setup -q %build -%if %suse_version <= 1200 +%if 0%{?suse_version} <= 1200 make %{?_smp_mflags} CFLAGS="%{optflags} -DNO_BTRFS_HEADER" %else make %{?_smp_mflags} CFLAGS="%{optflags}" %endif %install -%make_install +%make_install PREFIX="%{_prefix}" %files -n %{samename} %defattr(-, root, root) %{_sbindir}/%{samename} -%{_mandir}/man?/%{samename}.8.* +%{_mandir}/man?/%{samename}.8%{ext_man} %files %defattr(-, root, root) @@ -72,8 +67,8 @@ %{_sbindir}/duperemove %{_sbindir}/hashstats %{_sbindir}/show-shared-extents -%{_mandir}/man?/%{name}.8.* -%{_mandir}/man?/hashstats.8.* -%{_mandir}/man?/show-shared-extents.8.* +%{_mandir}/man?/%{name}.8%{ext_man} +%{_mandir}/man?/hashstats.8%{ext_man} +%{_mandir}/man?/show-shared-extents.8%{ext_man} %changelog
