Sync from SUSE:SLFO:Main jdupes revision 1c46162142714f6555242e26e728dc54

This commit is contained in:
Adrian Schröter 2024-11-15 13:58:23 +01:00
parent 01ccc9dca9
commit 75f2d95212
4 changed files with 128 additions and 13 deletions

BIN
jdupes-1.27.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,117 @@
-------------------------------------------------------------------
Thu Feb 29 14:06:17 UTC 2024 - Enrico Belleri <kilgore.trout@idesmi.eu>
- Reflect upstream move to https://codeberg.org/jbruchon
-------------------------------------------------------------------
Sun Aug 27 10:49:48 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.27.3:
* Fix crash on Linux when opening a file for hashing fails
-------------------------------------------------------------------
Sun Aug 27 10:49:39 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.27.2:
* Hash database no longer crashes on 32-bit and x32 systems
* Hash database now uses 64-bit time and size counts
-------------------------------------------------------------------
Sun Aug 27 10:49:13 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.27.1:
* Fix a hash database corruption bug
-------------------------------------------------------------------
Fri Aug 25 08:15:52 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.27.0:
* Added long-awaited hash database feature -y (SEE README BEFORE USING)
* Removed legacy long options that were deprecated in v1.20.0
* -E option was moved to -e and now throws an error (CHECK YOUR SCRIPTS)
* Multiple hash algorithm capability added, but no user option exists yet
* Linux: use posix_fadvise() to improve read performance
* Fixed possible infinite loop freezing on certain errors when linking files
* Removed annoying warning for -Q; the user deserves what the user asks for
-------------------------------------------------------------------
Tue Aug 22 14:50:12 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.26.1:
* Fix '-P early' to actually work correctly
-------------------------------------------------------------------
Tue Aug 22 14:49:49 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.26.0:
* Change -C to use KiB instead of bytes for easier typing
-------------------------------------------------------------------
Tue Aug 22 14:49:34 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.25.3:
* Fix CTRL+C broken during scanning phase
* Added verbose error information for dedupe errors 22 and 95
* Partial-only flag for dedupe is no longer inappropriately enabled on macOS
* Build now enables dedupe support and uses nearby libjodycode by default
* Fix NO_HARDLINKS, LOW_MEMORY, and BARE_BONES builds
-------------------------------------------------------------------
Tue Aug 22 14:49:20 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.25.2:
* Fix -d and no valid directories exiting with an internal error message
* All errors or serious warnings exit with FAILURE instead of SUCCESS
-------------------------------------------------------------------
Tue Aug 22 14:49:02 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.25.1:
* Fix -D on non-debug builds which was falling through to set -E
* Debugging now dumps a list of internal option flags
* Fixed progress indicator: "hashing: xyz%" only shows if "stuck" on one file
-------------------------------------------------------------------
Tue Aug 22 14:48:45 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.25.0:
* Major bug in 1.24.0 affecting all types of linking has been fixed
* Update interfaces to libjodycode 3 API
-------------------------------------------------------------------
Tue Aug 22 14:48:28 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.24.0:
* Progress indication now uses platform timers instead of check loops
* Lots of small code size and efficiency improvements
* No one should be using -T so it has been made far more annoying
* -B can be used with -T which may be faster for BTRFS dedupe work
* CTRL-C aborts now show a user abort warning message to stderr
* Improved version information display
* Documentation updates
-------------------------------------------------------------------
Tue Aug 22 14:48:04 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.23.0:
* Use the new libjodycode 2.0 API version handling system
* Dedupe is now attempted on read-only files (meant for BTRFS snapshots)
* The -C option can now accept power-of-two chunk sizes up to 256 MiB
* "Extensions" are now "feature flags" and some have changed
* OMIT_GETOPT_LONG is now NO_GETOPT_LONG (does anyone actually use this?)
* Linux-x86_64 can now build several multilib arches (x86_64, x32, i386)
* Various other under-the-hood code changes for libjodycode 2.0
-------------------------------------------------------------------
Tue Aug 22 14:47:07 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 1.22.0:
* libjodycode is now required to build and run jdupes
* Move all jody_* code to libjodycode and remove from jdupes
* Add -E/--error-on-dupe option to terminate immediately if any dupe is found
* Support showing x32 ABI in version information
* Several build system improvements for macOS, BSD, and linking in libxxhash
-------------------------------------------------------------------
Thu Feb 9 17:13:54 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jdupes
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2019-2020 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -18,16 +18,17 @@
Name: jdupes
Version: 1.21.3
Version: 1.27.3
Release: 0
Summary: A powerful duplicate file finder and an enhanced fork of 'fdupes'
License: MIT
Group: Productivity/File utilities
URL: https://github.com/jbruchon/jdupes
Source0: https://github.com/jbruchon/jdupes/archive/refs/tags/v%{version}.tar.gz
URL: https://codeberg.org/jbruchon/jdupes
Source0: https://codeberg.org/jbruchon/jdupes/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: macros.jdupes
Source2: jdupes_wrapper.cpp
BuildRequires: gcc-c++
BuildRequires: libjodycode-devel
%description
A program for identifying and taking actions upon duplicate files.
@ -38,10 +39,10 @@ work the same way. Option availability and meanings differ between the two
programs.
%prep
%setup -q
%autosetup -p1 -n %{name}
%build
make %{?_smp_mflags} \
%make_build \
ENABLE_DEDUPE=1 \
STATIC_DEDUPE_H=1
g++ %{optflags} -O2 -Wall %{SOURCE2} -o jdupes_wrapper
@ -49,17 +50,17 @@ g++ %{optflags} -O2 -Wall %{SOURCE2} -o jdupes_wrapper
%install
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.%{name}
install -D -m755 jdupes_wrapper %{buildroot}/usr/lib/rpm/jdupes_wrapper
install -D -m755 jdupes_wrapper %{buildroot}%{_prefix}/lib/rpm/jdupes_wrapper
%check
./jdupes -q -r testdir
%files
%license LICENSE
%doc CHANGES README.md
%license LICENSE.txt
%doc CHANGES.txt README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_rpmmacrodir}/macros.%{name}
/usr/lib/rpm/jdupes_wrapper
%{_prefix}/lib/rpm/jdupes_wrapper
%changelog

BIN
v1.21.3.tar.gz (Stored with Git LFS)

Binary file not shown.