A full night of sleep always helps. Here is a better patch that
doesn't get rid of zipgrep.
--
Andrew E. Mileski - Software Engineer
Rebel.com http://www.rebel.com/
--- unzip.spec.orig Mon Nov 30 12:29:39 1998
+++ unzip.spec Tue Aug 31 10:36:28 1999
@@ -1,6 +1,6 @@
%define name unzip
%define version 5.40
-%define release 2
+%define release 3
%define builddir /usr/src/redhat/BUILD/%{name}-%{version}
@@ -29,7 +29,11 @@
%setup -q -n %{name}-%{version}
%build
-make -f unix/Makefile linux
+%ifarch i386
+make -f unix/Makefile linux LOC="$RPM_OPT_FLAGS"
+%else
+make -f unix/Makefile linux_noasm LOC="$RPM_OPT_FLAGS"
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -40,7 +44,7 @@
install -s -o root -g root -m 755 funzip $RPM_BUILD_ROOT/usr/bin
install -s -o root -g root -m 755 unzipsfx $RPM_BUILD_ROOT/usr/bin
install -s -o root -g root -m 755 zipinfo $RPM_BUILD_ROOT/usr/bin
-install -s -o root -g root -m 755 unix/zipgrep $RPM_BUILD_ROOT/usr/bin
+install -o root -g root -m 755 unix/zipgrep $RPM_BUILD_ROOT/usr/bin
install -o root -g root -m 644 unix/unzip.1 $RPM_BUILD_ROOT/usr/man/man1
install -o root -g root -m 644 unix/funzip.1 $RPM_BUILD_ROOT/usr/man/man1
@@ -68,6 +72,11 @@
%attr(644,root,root) /usr/man/man1/zipgrep.1
%changelog
+* Mon Aug 30 1999 Andrew E. Mileski <[EMAIL PROTECTED]>
+- made portable with linux_noasm
+- added RPM_OPT_FLAGS
+- stopped attempts to strip scripts
+
* Mon Nov 30 1998 Ryan Weaver <[EMAIL PROTECTED]>
[unzip-5.40-2]
- Update to full release unzip-5.40
--
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null