[Build] Fixed the wrong end-of-line CMake build issue.

This commit is contained in:
Denis Arnaud 2011-12-05 01:23:06 +01:00
parent ae96f79b8c
commit 9c74b23243
2 changed files with 2 additions and 10 deletions

View File

@ -1 +1 @@
1cea71fe1f05d2b177172bd8e9ceb864 stdair-0.45.0.tar.bz2
352197cdeac7763a828d0308c805e188 stdair-0.45.0.tar.bz2

View File

@ -1,6 +1,5 @@
#
%global mydocs __tmp_docdir
%global mybuild _tmp_builddir
#
Name: stdair
Version: 0.45.0
@ -62,17 +61,12 @@ online (http://%{name}.org).
%build
mkdir -p %{mybuild}
pushd %{mybuild}
%cmake ..
%cmake .
make %{?_smp_mflags}
popd
%install
rm -rf $RPM_BUILD_ROOT
pushd %{mybuild}
make install DESTDIR=$RPM_BUILD_ROOT
popd
# Fix some permissions
find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
@ -82,9 +76,7 @@ mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
rm -f %{mydocs}/html/installdox
%check
pushd %{mybuild}
ctest
popd
%clean
rm -rf $RPM_BUILD_ROOT