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 ?
#make %{?jobs:-j%jobs}
%make_jobs
%make_tde -d=build
%install
%tde_makeinstall
%makeinstall_tde -d=build
%ifarch x86_64
mkdir -p $RPM_BUILD_ROOT/%{_tde_libdir}
ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_libdir}/mcop

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

Loading…
Cancel
Save