fix build failure caused by incorrect %setup and update SOURCE0 to
consists of name and version macro as gbs and hudson expected.
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Release: 9
License: BSD
Group: Applications/Archiving
-Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tar.gz
+Source0: %{name}-%{version}.tar.gz
Source1001: packaging/unzip.manifest
# Not sent to upstream.
Patch1: unzip-6.0-bzip2-configure.patch
a zip archive.
%prep
-%setup -q -n %{name}60
+%setup -q
%patch1 -p1 -b .bzip2-configure
%patch2 -p1 -b .exec-shield
%patch3 -p1 -b .close