Fix build error --without sqldiff.

Addressing
error: Installed (but unpackaged) file(s) found:
   /usr/bin/sqldiff
   /usr/lib/debug/usr/bin/sqldiff-3.31.1-1.fc31.x86_64.debug
This commit is contained in:
Jan Pazdziora 2020-04-05 08:39:24 +02:00 committed by Zuzana Miklankova
parent f04125dafa
commit 110de5f827
No known key found for this signature in database
GPG Key ID: 46A18EF4D17103A0
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%endif
# Build sqldiff
%if %{with tcl}
%if %{with sqldiff}
%make_build sqldiff
%endif
@ -211,7 +211,7 @@ install -D -m0755 sqlite3_analyzer $RPM_BUILD_ROOT/%{_bindir}/sqlite3_analyzer
%endif
# Install sqldiff
%if %{with tcl}
%if %{with sqldiff}
install -D -m0755 sqldiff $RPM_BUILD_ROOT/%{_bindir}/sqldiff
%endif