forked from pool/fdupes
Accepting request 811804 from home:polslinux:branches:utilities
- 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 OBS-URL: https://build.opensuse.org/request/show/811804 OBS-URL: https://build.opensuse.org/package/show/utilities/fdupes?expand=0&rev=20
This commit is contained in:
parent
0328238ce0
commit
1c0d3136d6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d6b6fdb0b8419815b4df3bdfd0aebc135b8276c90bbbe78ebe6af0b88ba49ea
|
||||
size 20869
|
3
fdupes-2.0.0.tar.gz
Normal file
3
fdupes-2.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eb9e3bd3e722ebb2a272e45a1073f78c60f8989b151c3661421b86b14b203410
|
||||
size 137705
|
@ -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
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 22 08:27:11 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
19
fdupes.spec
19
fdupes.spec
@ -15,24 +15,19 @@
|
||||
# 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.0.0
|
||||
Release: 0
|
||||
Summary: Identifying or deleting 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/%{version}/fdupes-%{version}.tar.gz
|
||||
Source1: macros.fdupes
|
||||
#PATCH-FIX-SUSE: fix patch according distro's needs
|
||||
Patch0: fdupes-makefile.patch
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pcre2-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -40,11 +35,11 @@ FDUPES is a program for identifying or deleting duplicate files
|
||||
residing within specified directories.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{upstream_version}
|
||||
%patch0
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} COMPILER_OPTIONS="%{optflags}"
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
install -D -m755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||
|
Loading…
x
Reference in New Issue
Block a user