diff options
Diffstat (limited to 'redhat/tdevelop/tdevelop-3.5.13.2.spec')
-rw-r--r-- | redhat/tdevelop/tdevelop-3.5.13.2.spec | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/redhat/tdevelop/tdevelop-3.5.13.2.spec b/redhat/tdevelop/tdevelop-3.5.13.2.spec index d212a5ce4..e2bbc05f3 100644 --- a/redhat/tdevelop/tdevelop-3.5.13.2.spec +++ b/redhat/tdevelop/tdevelop-3.5.13.2.spec @@ -585,7 +585,8 @@ Provides: trinity-kdevelop-libs = %{version}-%{release} %build -unset QTDIR; . /etc/profile.d/qt3.sh +unset QTDIR QTINC QTLIB +. /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" @@ -608,10 +609,10 @@ pushd c_cpp_reference-2.0.2_for_KDE_3.0 --with-extra-libs=%{tde_libdir} popd -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi %cmake \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ |