Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libofx for openSUSE:Factory checked in at 2025-06-24 20:47:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libofx (Old) and /work/SRC/openSUSE:Factory/.libofx.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libofx" Tue Jun 24 20:47:03 2025 rev:41 rq:1287864 version:0.10.9 Changes: -------- --- /work/SRC/openSUSE:Factory/libofx/libofx.changes 2022-05-05 23:07:47.581662130 +0200 +++ /work/SRC/openSUSE:Factory/.libofx.new.7067/libofx.changes 2025-06-24 20:48:07.021737583 +0200 @@ -1,0 +2,27 @@ +Sun Jun 22 08:15:46 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 0.10.9. Changes since 0.10.8: + * Fix null pointer dereference bugs + * Initial support for exporting Config.cmake with targets + * Fix version and tools description in vcpkg.json + * Add cpack rules for "make source_package" + * Fix installation path of libofx.h + * Rename some variables that shadowed others to clarify different meanings #75 + Changes in 0.10.7: + * autotools: fix LIBOFX_MAJOR_VERSION and friends in libofx.h + * CMake: miscellaneous fixes + Changes in 0.10.6: + * Update FindOpenSP; also allow to forcefully ENABLE SP_MULTI_BYTE + * Add support for CMake build system + * Minor code cleanup in CharStringtostring function and its header + * Ignore SGML parser character error because the char is accepted fine + * Fix find_dtd() when OFX_DTD_PATH env var is used + * Add ./configure option to disable CLI tools + * Only link ofx2qif against C++ STD lib + * Win32 code fixes for MSVC compilation + * Don't deconst iconv input buffer under Windows +- Use CMake for building libofx +- Add upstream change: + * 0001-Remove-handling-for-obsolete-partner-server.patch + +------------------------------------------------------------------- Old: ---- libofx-0.10.5.tar.gz New: ---- 0001-Remove-handling-for-obsolete-partner-server.patch libofx-0.10.9.tar.gz ----------(New B)---------- New:- Add upstream change: * 0001-Remove-handling-for-obsolete-partner-server.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libofx.spec ++++++ --- /var/tmp/diff_new_pack.vFJPfF/_old 2025-06-24 20:48:07.685765112 +0200 +++ /var/tmp/diff_new_pack.vFJPfF/_new 2025-06-24 20:48:07.685765112 +0200 @@ -1,7 +1,7 @@ # # spec file for package libofx # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,25 @@ Name: libofx -Version: 0.10.5 +Version: 0.10.9 Release: 0 Summary: OFX Command Parser and API License: GPL-2.0-or-later Group: Development/Libraries/Other URL: https://github.com/libofx/libofx Source: https://github.com/libofx/libofx/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: automake -BuildRequires: curl-devel +# PATCH-FIX-UPSTREAM +Patch0: 0001-Remove-handling-for-obsolete-partner-server.patch +BuildRequires: cmake BuildRequires: dos2unix BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: gengetopt BuildRequires: graphviz BuildRequires: help2man -BuildRequires: libtool BuildRequires: opensp-devel BuildRequires: pkgconfig +BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libxml++-2.6) >= 2.6 %description @@ -59,6 +59,7 @@ Requires: %{name} = %{version} Requires: glibc-devel Requires: libofx7 = %{version} +Requires: opensp-devel %description devel LibOFX is a parser and API for applications to support @@ -68,41 +69,58 @@ This subpackage contains the header files for the C API. %prep -%setup -q +%autosetup -p1 + chmod -x doc/ofx_sample_files/ofx_spec160_stmtrs_example.sgml dos2unix doc/ofx_sample_files/*.ofx %build +# CMake build system doesn't currently handle docs, create them manually +cd doc +# E: file-contains-date-and-time /usr/share/doc/packages/libofx/html/doxygen.css +sed -i '/HTML_TIMESTAMP/d' doxygen.cfg + +doxygen -u doxygen.cfg +doxygen doxygen.cfg +cd .. + # lto causes build issues on leap and armv7l %define _lto_cflags %{nil} -sh autogen.sh -%configure --disable-static --with-opensp-libs=%{_libdir} -%make_build docdir=%{_defaultdocdir}/%{name} +%cmake + +%cmake_build %install -%make_install -mkdir -p %{buildroot}%{_defaultdocdir} -mv %{buildroot}%{_datadir}/doc/libofx %{buildroot}%{_defaultdocdir}/%{name} -rm %{buildroot}%{_defaultdocdir}/%{name}/INSTALL +%cmake_install + +mkdir -p %{buildroot}%{_defaultdocdir}/%{name} cp -a doc/ofx_sample_files/*.* %{buildroot}%{_defaultdocdir}/%{name}/ cp -a doc/html %{buildroot}%{_defaultdocdir}/%{name}/ -%fdupes %{buildroot}%{_prefix} -find %{buildroot} -type f -name "*.la" -delete -print -%post -n libofx7 -p /sbin/ldconfig -%postun -n libofx7 -p /sbin/ldconfig +# man pages +mkdir -p %{buildroot}%{_mandir}/man1 +for prog in ofxconnect ofxdump; do +help2man -N --output=${prog}.1 %__builddir/${prog}/${prog} +install -m 0644 ${prog}.1 %{buildroot}%{_mandir}/man1 +done + +%fdupes %{buildroot} + +%ldconfig_scriptlets -n libofx7 %files +%doc AUTHORS ChangeLog NEWS README %doc %dir %{_defaultdocdir}/%{name} -%doc %{_defaultdocdir}/%{name}/[ACNR]* -%doc %{_defaultdocdir}/%{name}/*.txt %doc %{_defaultdocdir}/%{name}/*.ofx -%{_bindir}/* +%{_bindir}/ofx2qif +%{_bindir}/ofxconnect +%{_bindir}/ofxdump %{_datadir}/libofx/ %{_mandir}/man1/*.1%{?ext_man} %files -n libofx7 +%license COPYING %{_libdir}/libofx.so.7* %files devel @@ -111,5 +129,6 @@ %doc %{_defaultdocdir}/%{name}/*.xml %{_libdir}/libofx.so %{_includedir}/libofx/ +%{_libdir}/cmake/libofx/ %{_libdir}/pkgconfig/libofx.pc ++++++ 0001-Remove-handling-for-obsolete-partner-server.patch ++++++ ++++ 844 lines (skipped) ++++++ libofx-0.10.5.tar.gz -> libofx-0.10.9.tar.gz ++++++ ++++ 7484 lines of diff (skipped)