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

View File

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