Hello community, here is the log from the commit of package KEALib for openSUSE:Factory checked in at 2018-07-17 09:43:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/KEALib (Old) and /work/SRC/openSUSE:Factory/.KEALib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "KEALib" Tue Jul 17 09:43:30 2018 rev:2 rq:623233 version:1.4.7 Changes: -------- --- /work/SRC/openSUSE:Factory/KEALib/KEALib.changes 2018-07-14 20:24:33.620084295 +0200 +++ /work/SRC/openSUSE:Factory/.KEALib.new/KEALib.changes 2018-07-17 09:44:02.528928394 +0200 @@ -1,0 +2,8 @@ +Mon Jul 16 11:45:49 UTC 2018 - mplus...@suse.com + +- Polish spec file with spec-cleaner +- Use more of cmake macros +- Run test(s) +- Fix dependencies of devel package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ KEALib.spec ++++++ --- /var/tmp/diff_new_pack.ivuaOM/_old 2018-07-17 09:44:02.896927046 +0200 +++ /var/tmp/diff_new_pack.ivuaOM/_new 2018-07-17 09:44:02.896927046 +0200 @@ -18,9 +18,7 @@ %define soversion 1_4_7 %define sourcename kealib - %bcond_with gdal_plugin - Name: KEALib Version: 1.4.7 Release: 0 @@ -35,22 +33,25 @@ Patch1: Fixed_out_of_tree_builds.patch BuildRequires: cmake >= 2.8.10 BuildRequires: gcc-c++ +BuildRequires: hdf5-devel %if %{with gdal_plugin} BuildRequires: gdal-devel %endif -BuildRequires: hdf5-devel - %description -KEALib provides an implementation of the GDAL data model. The format supports raster attribute tables, image pyramids, meta-data and in-built statistics while also handling very large files and compression throughout. - -Based on the HDF5 standard, it also provides a base from which other formats can be derived and is a good choice for long term data archiving. An independent software library (libkea) provides complete access to the KEA image format and a GDAL driver allowing KEA images to be used from any GDAL supported software. - +KEALib provides an implementation of the GDAL data model. The format +supports raster attribute tables, image pyramids, meta-data and in-built +statistics while also handling very large files and compression throughout. + +Based on the HDF5 standard, it also provides a base from which other +formats can be derived and is a good choice for long term data archiving. +An independent software library (libkea) provides complete access to the +KEA image format and a GDAL driver allowing KEA images to be used from any +GDAL supported software. %package devel Summary: KEALib header files Group: Development/Languages/C and C++ -Requires: KEALib Requires: libkea%{soversion} = %{version} Provides: libkea%{soversion}-devel Provides: libkea-devel @@ -94,21 +95,23 @@ %endif cp ../build/include/libkea/kea-config.h ../include/libkea/kea-config.h -make +%make_jobs %install %cmake_install -%ifarch aarch64 x86_64 ppc64 ppc64le -mv %{buildroot}/usr/lib %{buildroot}/%{_libdir} +%if %__isa_bits == 64 +mv %{buildroot}%{_libexecdir} %{buildroot}/%{_libdir} %endif +%check +# path needs to be exported otherwise unit tests will fail +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir} +%ctest + %post -n libkea%{soversion} -p /sbin/ldconfig %postun -n libkea%{soversion} -p /sbin/ldconfig - -%files - %files devel %{_bindir}/kea-config %dir %{_includedir}/libkea