[Build] Fixed the wrong end-of-line CMake build issue.
This commit is contained in:
parent
ae96f79b8c
commit
9c74b23243
2
sources
2
sources
@ -1 +1 @@
|
||||
1cea71fe1f05d2b177172bd8e9ceb864 stdair-0.45.0.tar.bz2
|
||||
352197cdeac7763a828d0308c805e188 stdair-0.45.0.tar.bz2
|
||||
|
10
stdair.spec
10
stdair.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user