fix pkgconfig file (do not need to mess with cmake for libdir)

Taken from fedora
This commit is contained in:
Alejandro López 2025-07-21 15:40:49 +02:00
parent 715b3fd567
commit 0fb5e1decd

View File

@ -41,7 +41,7 @@ f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
# %%configure --enable-shared --disable-static \
# --disable-dependency-tracking
%if %{use_cmake}
%{cmake} -DCMAKE_INSTALL_LIBDIR:PATH="%{_libdir}" -DCARES_BUILD_TOOLS:BOOL=OFF
%{cmake} -DCARES_BUILD_TOOLS:BOOL=OFF
%cmake_build
%else
autoreconf -if