From d058f304bc49a05af1d28316cbe7d70c31f8f9af Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Mon, 19 Nov 2012 09:12:57 +0100 Subject: [PATCH] Call dos2unix before patching and dos2unix Makefile as well --- sgpio.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sgpio.spec b/sgpio.spec index ba41601..66079af 100644 --- a/sgpio.spec +++ b/sgpio.spec @@ -16,8 +16,8 @@ Intel SGPIO enclosure management utility %prep %setup -q -n sgpio +dos2unix --keepdate Makefile README %patch0 -p1 -b .makefile -dos2unix --keepdate README chmod a-x * %build @@ -36,6 +36,7 @@ make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUI %changelog * Mon Nov 19 2012 Jan Synáček - 1.2.0.10-9 - dos2unix'ed the patch +- Call dos2unix before patching and dos2unix Makefile as well * Thu Aug 23 2012 Jan Synáček - 1.2.0.10-8 - Improve spec