From 5c37515e65e387d8cd8c604a733f36ae933da7da Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 12 Jun 2009 09:48:15 +0000 Subject: [PATCH] - Cannot copy current directory into itself, so fix the copy command which creates 'x' subdirectory. --- mingw32-zlib.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/mingw32-zlib.spec b/mingw32-zlib.spec index de6e5d2..be62506 100644 --- a/mingw32-zlib.spec +++ b/mingw32-zlib.spec @@ -6,7 +6,7 @@ Name: mingw32-zlib Version: 1.2.3 -Release: 17%{?dist} +Release: 18%{?dist} Summary: MinGW Windows zlib compression library License: zlib @@ -51,9 +51,12 @@ MinGW Minizip manipulates files from a .zip archive. %prep -%setup -q -n zlib-1.2.3 +%setup -q -n zlib-%{version} %patch100 -p1 -cp -r . x || : +cd .. +cp -a zlib-%{version} x +mv x zlib-%{version} +cd zlib-%{version} %patch3 -p1 -b .atools # patch cannot create an empty dir mkdir m4 @@ -132,6 +135,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jun 12 2009 Richard W.M. Jones - 1.2.3-18 +- Cannot copy current directory into itself, so fix the copy command + which creates 'x' subdirectory. + * Thu May 1 2009 Thomas Sailer - 1.2.3-17 - BR autoconf, automake, libtool