revise arts.spec to match new macros.tde

v3.5.13-sru
Robert Xu 13 years ago
parent f9bc191e0b
commit 8d6b7f6608

@ -106,10 +106,10 @@ CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tde -d=bu
# broken automake ? # broken automake ?
#make %{?jobs:-j%jobs} #make %{?jobs:-j%jobs}
%make_jobs %make_tde -d=build
%install %install
%tde_makeinstall %makeinstall_tde -d=build
%ifarch x86_64 %ifarch x86_64
mkdir -p $RPM_BUILD_ROOT/%{_tde_libdir} mkdir -p $RPM_BUILD_ROOT/%{_tde_libdir}
ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_libdir}/mcop ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_libdir}/mcop

@ -47,8 +47,6 @@
%_tde_build_type release %_tde_build_type release
%tde_makeinstall make DESTDIR=%{?buildroot:%{buildroot}} install
%cmake_tde(d:) \ %cmake_tde(d:) \
export CFLAGS=$RPM_OPT_FLAGS \ export CFLAGS=$RPM_OPT_FLAGS \
export CXXFLAGS=$RPM_OPT_FLAGS \ export CXXFLAGS=$RPM_OPT_FLAGS \
@ -94,7 +92,7 @@
bdir=. \ bdir=. \
%{-d:dir=%{-d*} \ %{-d:dir=%{-d*} \
bdir=.. } \ bdir=.. } \
make DESTDIR=%{buildroot} install VERBOSE=1 \ make DESTDIR=%{?buildroot:%{buildroot}} install VERBOSE=1 \
if [ "$bdir" == ".." ]; then \ if [ "$bdir" == ".." ]; then \
cd .. \ cd .. \
fi \ fi \

Loading…
Cancel
Save