From 5c17b8481317b120facc3f05869aa16bfd2faa04 Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Feb 20 2013 20:47:29 +0000 Subject: Build with -D_FILE_OFFSET_BITS=64 also to get stat64 usage. - Minor spec cleanup for modern guidelines. --- diff --git a/samefile.spec b/samefile.spec index ecf2318..57f0644 100644 --- a/samefile.spec +++ b/samefile.spec @@ -1,13 +1,12 @@ Name: samefile Version: 2.13 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Command-line utility to find identical files on the file system Group: Applications/System License: BSD URL: http://www.schweikhardt.net/samefile/ Source0: http://www.schweikhardt.net/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description The samefile utility finds files with identical contents, independent of file @@ -22,30 +21,31 @@ a feeling for how much redundant files are there on your system. %build +# missing AC_SYS_LARGEFILE reported +CFLAGS="${RPM_OPT_FLAGS} -D_FILE_OFFSET_BITS=64" %configure make %{?_smp_mflags} -%check -make test - - %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install -%clean -rm -rf $RPM_BUILD_ROOT +%check +make test %files -%defattr(-,root,root,-) %doc README ChangeLog %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog +* Wed Feb 20 2013 Michael Schwendt - 2.13-4 +- Build with -D_FILE_OFFSET_BITS=64 also to get stat64 usage. +- Minor spec cleanup for modern guidelines. + * Thu Feb 14 2013 Fedora Release Engineering - 2.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild