diff --git a/fdupes-1.6.1.tar.gz b/fdupes-1.6.1.tar.gz deleted file mode 100644 index 1b4ae27..0000000 --- a/fdupes-1.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea -size 20869 diff --git a/fdupes-2.1.2.tar.gz b/fdupes-2.1.2.tar.gz new file mode 100644 index 0000000..462dcb3 --- /dev/null +++ b/fdupes-2.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd5cb53b6d898cf20f19b57b81114a5b263cc1149cd0da3104578b083b2837bd +size 142266 diff --git a/fdupes-makefile.patch b/fdupes-makefile.patch deleted file mode 100644 index 1884f2d..0000000 --- a/fdupes-makefile.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: Makefile -=================================================================== ---- Makefile.orig 2016-08-21 06:54:46.000000000 +0200 -+++ Makefile 2016-11-04 13:46:21.037423459 +0100 -@@ -11,7 +11,7 @@ - # determination of the actual installation directories. - # Suggested values are "/usr/local", "/usr", "/pkgs/fdupes-$(VERSION)" - # --PREFIX = /usr/local -+PREFIX = /usr - - # - # When compiling for 32-bit systems, FILEOFFSET_64BIT must be enabled diff --git a/fdupes.changes b/fdupes.changes index aeec205..db1e37f 100644 --- a/fdupes.changes +++ b/fdupes.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sun Aug 16 16:59:45 UTC 2020 - Dirk Mueller + +- update to 2.1.2: + * Do not enter ncurses mode when --immediate option given. + * Fix logging/memory corruption bug when using --log with --immediate. + * Break mtime ties using ctime when sorting by time. + * Reduce number of calls to stat(), for speed. + * Clear last command status when new command is entered. + * Rename cs command ("clear all selections") from cs to csel. + * Rename igs command ("invert selections") from igs to isel. + * Add "prune" command as synonym for DELETE key. + * Clear selections after deleting files via prune/DELETE. + * Fix dependency issues when fdupes is configured to not use ncurses. +- build without ncurses for now until buildcycles can be solved + +------------------------------------------------------------------- +Fri Jun 5 23:42:10 UTC 2020 - Jan Engelhardt + +- Use noun phrase in summary. Drop old specfile constructs. + +------------------------------------------------------------------- +Fri May 22 08:27:11 UTC 2020 - Paolo Stivanin + +- Update to v2.0.0 + * Add ncurses mode for interactive file deletion (plain mode still available via --plain or ./configure). + * Add --minsize option. + * Add --maxsize option. + * Add --time option. + * Add --order=ctime option. + * Add --log option. + * Use configure script for installation (Autotools/Automake). +- Remove fdupes-makefile.patch + ------------------------------------------------------------------- Thu Apr 16 21:07:45 UTC 2020 - Matej Cepl diff --git a/fdupes.spec b/fdupes.spec index 9a45030..4fb6764 100644 --- a/fdupes.spec +++ b/fdupes.spec @@ -15,40 +15,31 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# Upstream calls this version 1.6.1, but that version number is *lower* than -# previously released ones, like 1.51, so we mangle the number to keep -# continuity: https://github.com/adrianlopezroche/fdupes/issues/74. -%global upstream_version 1.6.1 - %{?!_rpmmacrodir:%define _rpmmacrodir /usr/lib/rpm/macros.d} Name: fdupes -Version: 1.61 +Version: 2.1.2 Release: 0 -Summary: Identifying or deleting duplicate files +Summary: Tool to identify or delete duplicate files License: MIT Group: Productivity/Archiving/Compression Url: https://github.com/adrianlopezroche/fdupes -Source0: https://github.com/adrianlopezroche/fdupes/archive/v%{upstream_version}.tar.gz#/%{name}-%{upstream_version}.tar.gz +Source0: https://github.com/adrianlopezroche/fdupes/releases/download/v%{version}/fdupes-%{version}.tar.gz Source1: macros.fdupes -#PATCH-FIX-SUSE: fix patch according distro's needs -Patch0: fdupes-makefile.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description FDUPES is a program for identifying or deleting duplicate files residing within specified directories. %prep -%setup -q -n %{name}-%{upstream_version} -%patch0 +%autosetup -p1 %build -make %{?_smp_mflags} COMPILER_OPTIONS="%{optflags}" +%configure --without-ncurses +%make_build %install -install -D -m755 %{name} %{buildroot}%{_bindir}/%{name} -install -D -m644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +%make_install install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.%{name} %check @@ -58,7 +49,6 @@ install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.%{name} ./%{name} --size testdir %files -%defattr(-, root, root) %doc CHANGES %{_bindir}/%{name} %{_mandir}/man1/%{name}.1*