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:
parent
f04125dafa
commit
110de5f827
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user