spec file cleanup
This commit is contained in:
parent
2ee90c9b5c
commit
85790f08a5
13
unzip.spec
13
unzip.spec
@ -1,11 +1,10 @@
|
||||
Summary: A utility for unpacking zip files
|
||||
Name: unzip
|
||||
Version: 6.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Archiving
|
||||
Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
||||
|
||||
# Not sent to upstream.
|
||||
Patch1: unzip-6.0-bzip2-configure.patch
|
||||
# Upstream plans to do this in zip (hopefully also in unzip).
|
||||
@ -18,9 +17,7 @@ Patch4: unzip-6.0-attribs-overflow.patch
|
||||
# Not sent to upstream, as it's Fedora/RHEL specific.
|
||||
# Modify the configure script not to request the strip of binaries.
|
||||
Patch5: unzip-6.0-nostrip.patch
|
||||
|
||||
URL: http://www.info-zip.org/UnZip.html
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: bzip2-devel
|
||||
|
||||
%description
|
||||
@ -49,9 +46,6 @@ make -f unix/Makefile CF_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS" generic_gcc %{?_smp_m
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 INSTALL="cp -p" install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README BUGS LICENSE
|
||||
@ -59,6 +53,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
* Mon May 24 2010 Karel Klic <kklic@redhat.com> - 6.0-3
|
||||
- Removed BuildRoot tag
|
||||
- Removed %%clean section
|
||||
- Removed trailing whitespaces in the spec file
|
||||
|
||||
* Mon Nov 30 2009 Karel Klic <kklic@redhat.com> - 6.0-2
|
||||
- Fixed a buffer overflow (rhbz#532380, unzip-6.0-attribs-overflow.patch)
|
||||
- Generate debuginfos (rhbz#540220, unzip-6.0-nostrip.patch)
|
||||
|
Loading…
Reference in New Issue
Block a user