Update to 2.0.0 (#1787848)

epel9
Björn Esser 5 years ago
parent 20f0d9317d
commit 0edf93bad7
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

4
.gitignore vendored

@ -1,3 +1 @@
fdupes-1.50-PR2.tar.gz
/fdupes-1.51.tar.gz
/fdupes-1.6.1.tar.gz
/fdupes-*.tar.gz

@ -1,17 +1,20 @@
# Place rpm-macros into proper location.
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; /bin/echo $d)
Name: fdupes
Epoch: 1
Version: 1.6.1
Release: 7%{?dist}
Version: 2.0.0
Release: 1%{?dist}
Summary: Finds duplicate files in a given set of directories
License: MIT
URL: https://github.com/adrianlopezroche/%{name}
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: macros.%{name}
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
%description
@ -24,7 +27,7 @@ directories.
# From README.
%{__cat} << EOF > LICENSE
FDUPES Copyright (c) 1999 Adrian Lopez
FDUPES Copyright (c) 1999-2019 Adrian Lopez
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
@ -46,20 +49,17 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
EOF
autoreconf -fiv
%build
%make_build \
COMPILER_OPTIONS="%{?optflags}" \
LDFLAGS="%{?__global_ldflags}"
%configure
%make_build
%install
%make_install \
INSTALL="%{__install} -p" \
BIN_DIR=%{_bindir} \
MAN_BASE_DIR=%{_mandir}
%{__install} -Dpm 0644 %{SOURCE1} \
%make_install
install -Dpm 0644 %{SOURCE1} \
%{buildroot}%{macrosdir}/macros.%{name}
@ -73,12 +73,16 @@ EOF
%files
%license CONTRIBUTORS LICENSE
%doc CHANGES README
%doc %{_mandir}/man1/%{name}.1*
%{_mandir}/man1/%{name}.1*
%{_mandir}/man7/%{name}*.7*
%{_bindir}/%{name}
%{macrosdir}/macros.fdupes
%changelog
* Sun Jan 05 2020 Björn Esser <besser82@fedoraproject.org> - 1:2.0.0-1
- Update to 2.0.0 (#1787848)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (fdupes-1.6.1.tar.gz) = 6c6662b70068c2f48f4be64a6830c81a66852d650391d0756f20b9ac0df7d70c1a32918bd7cbd50e19de524d9ebc09ea338c19636e1807b071eb96b325e641db
SHA512 (fdupes-2.0.0.tar.gz) = 256c3f5cf4f760ebb0014ca6841dfaa783677ba300463ceec77981087058f2bcaf6a241e3fb88d27811b4d0ddbb48f4b48937a3e717e05ba2f8d365766325d87

Loading…
Cancel
Save