Accepting request 960616 from home:dirkmueller:Factory
please forward to factory (can do maintainer for it) - update to 1.20.2: * Interactive deletion now offers "link set" options too * Interactive deletion now assumes 'a' when you just hit [ENTER] - add jdupes rpm macro for dropin %%fdupes replacement - run tests OBS-URL: https://build.opensuse.org/request/show/960616 OBS-URL: https://build.opensuse.org/package/show/utilities/jdupes?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
d620a7c45c
commit
4a7211d744
12
_service
12
_service
@@ -1,12 +0,0 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">git://github.com/jbruchon/jdupes</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v1.20.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
@@ -1,4 +0,0 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://github.com/jbruchon/jdupes</param>
|
||||
<param name="changesrevision">57f187733b6ffd363b72d4599a432689e600c7f3</param></service></servicedata>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5160702d7d1b2f9340bbf7b73aa82951d2381c4d06d1267c175c77c2299b2394
|
||||
size 611852
|
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 9 21:54:15 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.20.2:
|
||||
* Interactive deletion now offers "link set" options too
|
||||
* Interactive deletion now assumes 'a' when you just hit [ENTER]
|
||||
- add jdupes rpm macro for dropin %%fdupes replacement
|
||||
- run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 08 20:24:03 UTC 2021 - idesmi@protonmail.com
|
||||
|
||||
|
@@ -1,5 +0,0 @@
|
||||
name: jdupes
|
||||
version: 1.20.0
|
||||
mtime: 1620855746
|
||||
commit: 57f187733b6ffd363b72d4599a432689e600c7f3
|
||||
|
13
jdupes.spec
13
jdupes.spec
@@ -18,13 +18,14 @@
|
||||
|
||||
|
||||
Name: jdupes
|
||||
Version: 1.20.0
|
||||
Version: 1.20.2
|
||||
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: %{name}-%{version}.tar
|
||||
Source0: https://github.com/jbruchon/jdupes/archive/refs/tags/v%{version}.tar.gz
|
||||
Source1: macros.jdupes
|
||||
|
||||
%description
|
||||
A program for identifying and taking actions upon duplicate files.
|
||||
@@ -44,12 +45,16 @@ make %{?_smp_mflags} \
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install
|
||||
install -D -m644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.%{name}
|
||||
|
||||
%check
|
||||
./jdupes -q -r testdir
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES README.md
|
||||
%license LICENSE
|
||||
%doc CHANGES README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||
%{_rpmmacrodir}/macros.%{name}
|
||||
|
||||
%changelog
|
||||
|
20
macros.jdupes
Normal file
20
macros.jdupes
Normal file
@@ -0,0 +1,20 @@
|
||||
%jdupes(s) \
|
||||
_target=""; _symlinks=0; \
|
||||
%{-s:_symlinks=1;} \
|
||||
if test "$_symlinks" = 1; then \
|
||||
jdupes -q -p -H -o name -r %1 | \
|
||||
while read _file; do \
|
||||
if test -z "$_target" ; then \
|
||||
_target="$_file"; \
|
||||
else \
|
||||
if test -z "$_file" ; then \
|
||||
_target=""; \
|
||||
continue ; \
|
||||
fi ; \
|
||||
ln -sf "${_target#%{buildroot}}" "$_file"; \
|
||||
fi ; \
|
||||
done ; \
|
||||
else \
|
||||
jdupes -q -p -H -o name -L -r %1 ; \
|
||||
fi ; \
|
||||
%{nil}
|
3
v1.20.2.tar.gz
Normal file
3
v1.20.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d079d22dc77e1d181abcb8a59216520633a8712d197d007a9a9fb64c72610824
|
||||
size 94319
|
Reference in New Issue
Block a user