automatic version update by autodist [release 2.12-1mamba;Mon Dec 24 2018]

This commit is contained in:
Automatic Build System 2024-01-06 00:02:10 +01:00
parent 6ab46c4671
commit 65d32ee79d

View File

@ -1,6 +1,6 @@
Name: jansson
Version: 2.11
Release: 2mamba
Version: 2.12
Release: 1mamba
Summary: A C library for encoding, decoding and manipulating JSON data
Group: System/Libraries
Vendor: openmamba
@ -38,8 +38,9 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q
sed -i "s|@libdir@|%{_libdir}|" jansson.pc.in
%ifarch x86_64
sed -i "s|\"lib\"|\"lib64\"|" CMakeLists.txt
%endif
%build
%cmake -d build \
@ -54,6 +55,10 @@ sed -i "s|@libdir@|%{_libdir}|" jansson.pc.in
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%ifarch x86_64
mv %{buildroot}%{_prefix}/lib/pkgconfig %{buildroot}%{_libdir}
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -69,17 +74,19 @@ sed -i "s|@libdir@|%{_libdir}|" jansson.pc.in
%defattr(-,root,root)
%{_includedir}/jansson.h
%{_includedir}/jansson_config.h
%{_libdir}/cmake/jansson/JanssonConfig.cmake
%{_libdir}/cmake/jansson/JanssonConfigVersion.cmake
%{_libdir}/cmake/jansson/JanssonTargets-noconfig.cmake
%{_libdir}/cmake/jansson/JanssonTargets.cmake
%{_libdir}/cmake/jansson/janssonConfig.cmake
%{_libdir}/cmake/jansson/janssonConfigVersion.cmake
%{_libdir}/cmake/jansson/janssonTargets-noconfig.cmake
%{_libdir}/cmake/jansson/janssonTargets.cmake
%{_libdir}/libjansson.so
%{_libdir}/pkgconfig/jansson.pc
#%{_libdir}/libjansson.so
#%{_libdir}/pkgconfig/jansson.pc
%doc CHANGES README.rst
%changelog
* Mon Dec 24 2018 Automatic Build System <autodist@mambasoft.it> 2.12-1mamba
- automatic version update by autodist
* Thu Mar 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-2mamba
- fix libdir in pkgconfig file