fix libdir in pkgconfig file [release 2.12-2mamba;Sun Mar 24 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 00:02:10 +01:00
parent 65d32ee79d
commit 42b8ba00b7

View File

@ -1,6 +1,6 @@
Name: jansson
Version: 2.12
Release: 1mamba
Release: 2mamba
Summary: A C library for encoding, decoding and manipulating JSON data
Group: System/Libraries
Vendor: openmamba
@ -44,9 +44,8 @@ sed -i "s|\"lib\"|\"lib64\"|" CMakeLists.txt
%build
%cmake -d build \
-Dexec_prefix= \
-DJANSSON_BUILD_SHARED_LIBS=TRUE \
-DJANSSON_INSTALL_LIB_DIR=%{_libdir} \
-DJANSSON_INSTALL_LIB_DIR=/%{_lib} \
-DJANSSON_INSTALL_CMAKE_DIR=%{_libdir}/cmake/jansson
%make
@ -84,6 +83,9 @@ mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
%doc CHANGES README.rst
%changelog
* Sun Mar 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.12-2mamba
- fix libdir in pkgconfig file
* Mon Dec 24 2018 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
- automatic version update by autodist