diff --git a/procmail.spec b/procmail.spec index 8d0bef0..afd0189 100644 --- a/procmail.spec +++ b/procmail.spec @@ -1,7 +1,7 @@ Summary: The procmail mail processing program. Name: procmail Version: 3.22 -Release: 14 +Release: 15 License: GPL or Artistic Group: System Environment/Daemons Source: ftp://ftp.procmail.org/pub/procmail/procmail-%{version}.tar.gz @@ -10,6 +10,7 @@ URL: http://www.procmail.org Patch0: procmail-3.22-rhconfig.patch Patch1: procmail-3.15.1-man.patch Patch2: procmail_3.22-8.debian.patch +Patch3: procmail-3.22-large_files.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -23,11 +24,12 @@ Procmail is also the basis for the SmartList mailing list processor. %patch0 -p1 -b .rhconfig %patch1 -p1 %patch2 -p1 +%patch3 -p1 -b .largefiles find . -type d -exec chmod 755 {} \; %build -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" %install rm -rf ${RPM_BUILD_ROOT} @@ -56,6 +58,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man[15]/* %changelog +* Mon Nov 8 2004 Martin Stransky 3.22-15 +- add largefiles patch to support 64-bit file I/O + * Tue Jun 15 2004 Elliot Lee - rebuilt