From: Chengwei Yang Date: Wed, 6 Jun 2012 06:06:03 +0000 (+0800) Subject: fix build failure caused by incorrect %setup X-Git-Tag: 2.0_alpha^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2F2.0alpha;p=toolchains%2Funzip.git fix build failure caused by incorrect %setup 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 --- diff --git a/packaging/unzip.spec b/packaging/unzip.spec index be42e47..05ed6f0 100644 --- a/packaging/unzip.spec +++ b/packaging/unzip.spec @@ -5,7 +5,7 @@ Version: 6.0 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 @@ -34,7 +34,7 @@ Install the unzip package if you need to list, test or extract files from 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