[samefile] Build with -D_FILE_OFFSET_BITS=64 also to get stat64 usage.
Michael Schwendt
mschwendt at fedoraproject.org
Wed Feb 20 20:47:36 UTC 2013
commit 5c17b8481317b120facc3f05869aa16bfd2faa04
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Wed Feb 20 21:47:29 2013 +0100
Build with -D_FILE_OFFSET_BITS=64 also to get stat64 usage.
- Minor spec cleanup for modern guidelines.
samefile.spec | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
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 <mschwendt at fedoraproject.org> - 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 <rel-eng at lists.fedoraproject.org> - 2.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list