From 432980e77d3001eb3c898e64423ebdd6a7bcf226 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Wed, 6 Jun 2012 14:06:03 +0800 Subject: [PATCH] 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 --- packaging/unzip.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4