Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ossim for openSUSE:Factory checked in at 2025-03-26 21:24:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ossim (Old) and /work/SRC/openSUSE:Factory/.ossim.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ossim" Wed Mar 26 21:24:20 2025 rev:3 rq:1256268 version:2.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ossim/ossim.changes 2020-02-21 16:41:42.197954557 +0100 +++ /work/SRC/openSUSE:Factory/.ossim.new.2696/ossim.changes 2025-03-26 21:25:50.400517770 +0100 @@ -1,0 +2,19 @@ +Wed Mar 26 12:45:49 UTC 2025 - Atri <[email protected]> + +- Fix devel package requirement on shared lib after the latter's + so version bump. + +------------------------------------------------------------------- +Sat Mar 8 12:43:02 UTC 2025 - Atri Bhattacharya <[email protected]> + +- Update to version 2.12.0: + * No release notes. +- Add ossim-long-int-cast.patch: explicitly cast hsize_t to + u_int64 to avoid compilation problem with hdf5 >= 1.14.0 + [gh#ossimlabs/ossim#301]. +- Pass INSTALL_LIBRARY_DIR=%{_libdir} to avoid having to move + installed arch-specific library dirs after install. +- Use %ldconfig_scriptlets instead of `post(un) -p + /sbin/ldconfig`. + +------------------------------------------------------------------- Old: ---- ossim-OrchidIsland-2.11.1.tar.gz New: ---- ossim-2.12.0.tar.gz ossim-long-int-cast.patch BETA DEBUG BEGIN: New: * No release notes. - Add ossim-long-int-cast.patch: explicitly cast hsize_t to u_int64 to avoid compilation problem with hdf5 >= 1.14.0 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ossim.spec ++++++ --- /var/tmp/diff_new_pack.eH2GfU/_old 2025-03-26 21:25:50.880537504 +0100 +++ /var/tmp/diff_new_pack.eH2GfU/_new 2025-03-26 21:25:50.884537669 +0100 @@ -1,7 +1,7 @@ # # spec file for package ossim # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2015 Angelos Tzotsos <[email protected]>. # # All modifications and additions to the file contributed by third parties @@ -17,15 +17,17 @@ # -%define _release_name OrchidIsland +%define so_ver 2 Name: ossim -Version: 2.11.1 +Version: 2.12.0 Release: 0 Summary: Open Source Software Image Map (OSSIM) License: LGPL-3.0-only Group: Development/Libraries/C and C++ URL: http://trac.osgeo.org/ossim/ -Source0: https://github.com/ossimlabs/ossim/archive/%{_release_name}-%{version}.tar.gz#/%{name}-%{_release_name}-%{version}.tar.gz +Source0: https://github.com/ossimlabs/ossim/releases/download/v%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM ossim-long-int-cast.patch gh#ossimlabs/ossim#301 [email protected] -- Explicitly cast hsize_t into u_int64 to avoid compilation problems with hdf5 >= 1.14.0 +Patch0: ossim-long-int-cast.patch BuildRequires: cmake >= 2.8.0 BuildRequires: fdupes BuildRequires: freetype2-devel @@ -49,7 +51,7 @@ %package devel Summary: Header files for the Open Source Software Image Map Group: Development/Libraries/C and C++ -Requires: lib%{name}1 = %{version}-%{release} +Requires: lib%{name}%{so_ver} = %{version}-%{release} Provides: lib%{name}-devel %description devel @@ -58,11 +60,11 @@ remote sensing, image processing, geographical information systems and photogrammetry. -%package -n lib%{name}1 +%package -n lib%{name}%{so_ver} Summary: Open Source Software Image Map libraries Group: System/Libraries -%description -n lib%{name}1 +%description -n lib%{name}%{so_ver} The OSSIM shared library files. Open Source Software Image Map (OSSIM) is an engine for remote sensing, image processing, geographical information systems and @@ -71,16 +73,17 @@ %package sample-data Summary: OSSIM data samples files Group: Development/Libraries/C and C++ +BuildArch: noarch %description sample-data The OSSIM data samples files for tests. %prep -%setup -q -n %{name}-%{_release_name}-%{version} +%autosetup -p1 %build -export CXXFLAGS=" -std=c++03" %cmake \ + -DINSTALL_LIBRARY_DIR=%{_libdir} \ -DBUILD_OSSIM_FRAMEWORKS=ON \ -DBUILD_OSSIM_FREETYPE_SUPPORT=ON \ -DBUILD_OSSIM_MPI_SUPPORT=OFF \ @@ -91,38 +94,25 @@ -DBUILD_OSSIM_HDF5_SUPPORT=ON \ -DBUILD_SHARED_LIBS=ON -make %{?_smp_mflags} +%cmake_build %install %cmake_install -# Fix lib folder for 32-bits -# Beware don't let spec-cleaner playing with this -%if "%{_lib}" == "lib" -mkdir -p %{buildroot}/usr/lib -mv %{buildroot}/usr/lib64/* %{buildroot}/usr/lib/ -%endif - %fdupes %{buildroot}/%{_prefix} -%post -n lib%{name}1 -p /sbin/ldconfig - -%postun -n lib%{name}1 -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name}%{so_ver} -%files -n lib%{name}1 -%defattr(644,root,root,755) -%{_libdir}/*.so.* +%files -n lib%{name}%{so_ver} +%{_libdir}/*.so.%{so_ver}* %files -%defattr(-,root,root,-) %{_bindir}/* %files devel -%defattr(-,root,root,-) %{_includedir}/* %{_libdir}/lib*.so %files sample-data -%dir %{_datadir}/ossim -%{_datadir}/ossim/* +%{_datadir}/ossim/ ++++++ ossim-OrchidIsland-2.11.1.tar.gz -> ossim-2.12.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/ossim/ossim-OrchidIsland-2.11.1.tar.gz /work/SRC/openSUSE:Factory/.ossim.new.2696/ossim-2.12.0.tar.gz differ: char 13, line 1 ++++++ ossim-long-int-cast.patch ++++++ Index: ossim-2.12.0/src/hdf5/ossimHdf5Info.cpp =================================================================== --- ossim-2.12.0.orig/src/hdf5/ossimHdf5Info.cpp +++ ossim-2.12.0/src/hdf5/ossimHdf5Info.cpp @@ -1145,7 +1145,7 @@ void ossimHdf5Info::dumpArrayType( H5::A nArrayElements*=dims[idx]; } - dimString = ossimString("(") + dimOut.str() + ossimString::toString(dims[dims.size()-1])+")"; + dimString = ossimString("(") + dimOut.str() + ossimString::toString(ossim_uint64(dims[dims.size()-1]))+")"; m_kwl.addPair(prefix+".dimensions", dimString); ossim_uint32 typeSize = superType.getSize();
