diff options
Diffstat (limited to 'redhat/applications/internet/tork/tork.spec')
-rw-r--r-- | redhat/applications/internet/tork/tork.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/applications/internet/tork/tork.spec b/redhat/applications/internet/tork/tork.spec index 32241b0e0..97c96d3a4 100644 --- a/redhat/applications/internet/tork/tork.spec +++ b/redhat/applications/internet/tork/tork.spec @@ -80,7 +80,11 @@ BuildRequires: brp-check-trinity BuildRequires: torsocks # OPENSSL support +%if 0%{?mdkver} +BuildRequires: %{_lib}openssl-devel +%else BuildRequires: openssl-devel +%endif # GEOIP %if 0%{?suse_version} @@ -116,7 +120,7 @@ on the Tor network. unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" -if ! rpm -E %%cmake|grep -q "cd build"; then +if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then %__mkdir_p build cd build fi |