Call dos2unix before patching and dos2unix Makefile as well

This commit is contained in:
Jan Synacek 2012-11-19 09:12:57 +01:00
parent cc7218052b
commit d058f304bc
1 changed files with 2 additions and 1 deletions

View File

@ -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 <jsynacek@redhat.com> - 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 <jsynacek@redhat.com> - 1.2.0.10-8
- Improve spec