auto-import changelog data from unzip-5.42-1.src.rpm
Mon May 21 2001 Trond Eivind Glomsrd <teg@redhat.com> - 5.42 - Don't strip binaries explicitly - build without assembly, it doesn't seem to increase performance - make it respect RPM_OPT_FLAGS, define _GNU_SOURCE - use %{_tmppath} - "License:" replaces "Copyright:" - Update URL - include zipgrep - COPYING doesn't exist anymore, include LICENSE instead
This commit is contained in:
parent
4301ca9ac6
commit
6ac5f52833
@ -1 +1 @@
|
|||||||
unzip541.tar.gz
|
unzip542.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
d5fb7ca068da949765abb8c6bc71666e unzip541.tar.gz
|
4fc23bb7f3fb00ef6af35c5e77ede016 unzip542.tar.gz
|
||||||
|
40
unzip.spec
40
unzip.spec
@ -1,12 +1,13 @@
|
|||||||
Summary: A utility for unpacking zip files.
|
Summary: A utility for unpacking zip files.
|
||||||
Name: unzip
|
Name: unzip
|
||||||
Version: 5.41
|
Version: 5.42
|
||||||
Release: 4
|
Release: 1
|
||||||
Copyright: BSD
|
License: BSD
|
||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip541.tar.gz
|
Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip542.tar.gz
|
||||||
URL: ftp://ftp.info-zip.org/pub/infozip/UnZip.html
|
Patch0: unzip542-rpmoptflags.patch
|
||||||
BuildRoot: /var/tmp/unzip-root
|
URL: http://www.info-zip.org/pub/infozip/UnZip.html
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The unzip utility is used to list, test, or extract files from a zip
|
The unzip utility is used to list, test, or extract files from a zip
|
||||||
@ -21,35 +22,38 @@ a zip archive.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
ln -s unix/Makefile Makefile
|
ln -s unix/Makefile Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch i386
|
|
||||||
make linux
|
|
||||||
%else
|
|
||||||
make linux_noasm
|
make linux_noasm
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make prefix=$RPM_BUILD_ROOT/usr MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 install
|
make prefix=$RPM_BUILD_ROOT/usr MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 install
|
||||||
|
|
||||||
strip $RPM_BUILD_ROOT/usr/bin/{unzip,funzip,unzipsfx}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README BUGS COPYING INSTALL
|
%doc README BUGS LICENSE INSTALL
|
||||||
/usr/bin/unzip
|
/usr/bin/*
|
||||||
/usr/bin/funzip
|
%{_mandir}/*/*
|
||||||
/usr/bin/unzipsfx
|
|
||||||
/usr/bin/zipinfo
|
|
||||||
%{_mandir}/man1/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- 5.42
|
||||||
|
- Don't strip binaries explicitly
|
||||||
|
- build without assembly, it doesn't seem to increase performance
|
||||||
|
- make it respect RPM_OPT_FLAGS, define _GNU_SOURCE
|
||||||
|
- use %%{_tmppath}
|
||||||
|
- "License:" replaces "Copyright:"
|
||||||
|
- Update URL
|
||||||
|
- include zipgrep
|
||||||
|
- COPYING doesn't exist anymore, include LICENSE instead
|
||||||
|
|
||||||
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
||||||
- automatic rebuild
|
- automatic rebuild
|
||||||
|
|
||||||
|
11
unzip542-rpmoptflags.patch
Normal file
11
unzip542-rpmoptflags.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- unzip-5.42/unix/Makefile.rpmoptflags Mon May 21 10:57:51 2001
|
||||||
|
+++ unzip-5.42/unix/Makefile Mon May 21 10:58:22 2001
|
||||||
|
@@ -735,7 +735,7 @@
|
||||||
|
# Linux (Posix, approximately SysV): virtually any version since before 0.96,
|
||||||
|
# for any platform. Change "-O" to "-O3" or whatever, as desired...
|
||||||
|
linux_noasm: unix_make
|
||||||
|
- $(MAKE) unzips CC=gcc LD=gcc CF="-O -Wall -I. $(LOC)"
|
||||||
|
+ $(MAKE) unzips CC=gcc LD=gcc CF="$(RPM_OPT_FLAGS) -D_GNU_SOURCE -Wall -I. $(LOC)"
|
||||||
|
|
||||||
|
# Linux with lcc compiler: __inline__ (stat.h) not recognized, and must edit
|
||||||
|
# /usr/include/gnu/types.h to get rid of "long long" if __LCC__ defined. -O3
|
Loading…
Reference in New Issue
Block a user