summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec')
-rw-r--r--redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec
index a15205dda..5cf575e58 100644
--- a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec
+++ b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec
@@ -88,10 +88,10 @@ fi
%__rm -f "po/tr.po"
%endif
-%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" \