diff --git a/ncompress.spec b/ncompress.spec index d5dad1f..fde1802 100644 --- a/ncompress.spec +++ b/ncompress.spec @@ -1,11 +1,12 @@ Summary: Fast compression and decompression utilities. Name: ncompress Version: 4.2.4 -Release: 21a +Release: 24 License: distributable Group: Applications/File Source: ftp://metalab.unc.edu/pub/Linux/utils/compress/ncompress-4.2.4.tar.Z -Patch: ncompress-4.2.4-make.patch +Patch0: ncompress-4.2.4-make.patch +Patch1: ncompress-4.2.4-lfs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -21,20 +22,21 @@ which are compatible with the original UNIX compress utility. %prep %setup -q -%patch -p1 +%patch0 -p1 +%patch1 -p1 %build %ifarch i386 i486 i586 i686 -make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS" ENDIAN=4321 +make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS -D_GNU_SOURCE" ENDIAN=4321 %endif %ifarch sparc m68k armv4l ppc s390 s390x -make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS" ENDIAN=1234 +make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS -D_GNU_SOURCE" ENDIAN=1234 %endif %ifarch alpha ia64 -make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS -DNOALLIGN=0" ENDIAN=4321 +make "RPM_OPT_FLAGS=$RPM_OPT_FLAGS -DNOALLIGN=0 -D_GNU_SOURCE" ENDIAN=4321 %endif %install @@ -59,6 +61,17 @@ rm -rf $RPM_BUILD_ROOT %doc LZW.INFO README %changelog +* Sat Jun 09 2001 Florian La Roche +- s390x change + +* Tue May 8 2001 Trond Eivind Glomsrød +- Make it support large files (structs, stats, opens and of course: + _don't use signed longs for file size before and after compression_.) + This should fix #39470 + +* Thu Apr 26 2001 Florian La Roche +- add s390x, patch from Oliver Paukstadt + * Mon Nov 13 2000 Oliver Paukstadt - add s390 to the bigendian arch list