Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package srecord for openSUSE:Factory checked in at 2023-10-02 20:06:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/srecord (Old) and /work/SRC/openSUSE:Factory/.srecord.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "srecord" Mon Oct 2 20:06:37 2023 rev:4 rq:1114643 version:1.65.0 Changes: -------- --- /work/SRC/openSUSE:Factory/srecord/srecord.changes 2017-02-07 12:02:28.530041654 +0100 +++ /work/SRC/openSUSE:Factory/.srecord.new.28202/srecord.changes 2023-10-02 20:09:18.496936550 +0200 @@ -1,0 +2,27 @@ +Sat Sep 30 13:17:30 UTC 2023 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Update to version 1.65 + * HP64000 absolute file format contributed by fenugrec. Supports + file input, tests and documentation. + * Patch by dg1yfe as pulled from github via marcows. Updated man + page for srec_ppb. Updated PPB output to match checksum range + for output. Updated tests for PPB write and read including + files containing holes. Added test for prolog stripping. + * Verbose srec_info as suggested by Thomas. Display basic info + on the proportion of input files which data/holes. + * Bug fix from xiretza for COE generation falsly detecting holes + in input. + * Remove dependencies on boost moving to std shared_ptr and + static_assert. Remove doc references to boost. + * Fixed buffer overflow in four packed code output generator. + * Marksu Heidelberg <markus.heidelb...@web.de> contributed a + patch to fix a bug that he also found with the -generator + which resulted in an endless loop. + * Completely new build and config system to replace Aegis, Cook + and autoconf with cmake & git. Integration with cpack to + generate linux and windows packages. Integration with ctest to + sustain the regression test suite. +- Use groff-full required for HTML and PDF generation +- Clean up spec file + +------------------------------------------------------------------- Old: ---- srecord-1.64.tar.gz New: ---- srecord-1.65.0-Source.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ srecord.spec ++++++ --- /var/tmp/diff_new_pack.KS5n45/_old 2023-10-02 20:09:19.524973521 +0200 +++ /var/tmp/diff_new_pack.KS5n45/_new 2023-10-02 20:09:19.524973521 +0200 @@ -1,7 +1,7 @@ # # spec file for package srecord # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,33 +12,27 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: srecord -Version: 1.64 +Version: 1.65.0 +%define short_version 1.65 Release: 0 %define so_ver 0 Summary: Hex/bin format conversion package -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Development/Tools/Other -Url: http://srecord.sourceforge.net/ -Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -%if 0%{?suse_version} > 1325 -BuildRequires: libboost_headers-devel -%else -BuildRequires: boost-devel -%endif -BuildRequires: diffutils +URL: https://srecord.sourceforge.net/ +Source: https://sourceforge.net/projects/srecord/files/srecord/%{short_version}/srecord-%{version}-Source.tar.gz +BuildRequires: cmake >= 3.21 +BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: ghostscript -BuildRequires: groff +BuildRequires: graphviz +# groff-full for PDF output driver +BuildRequires: groff-full BuildRequires: libgcrypt-devel -BuildRequires: libtool -BuildRequires: pkg-config -BuildRequires: sharutils -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The srecord package is a collection of powerful tools for manipulating EPROM @@ -75,29 +69,41 @@ This package contains documentation in PDF format. %prep -%setup -q +%setup -q -n %{name}-%{version}-Source +# Workaround git not working properly with tarball, fixed upstream +sed -ie '/GIT Hash Not Found/ d' etc/configure.cmake +# Fix library build +sed -ie '/add_library/ { + s/STATIC// ; + s/\${LIB_GCRYPT}// + a target_link_libraries(lib_srecord \${LIB_GCRYPT}) + a set_target_properties(lib_srecord PROPERTIES OUTPUT_NAME srecord SOVERSION %{so_ver}) + } ' srecord/CMakeLists.txt +# Do not install system libraries +sed -ie '/install(RUNTIME_DEPENDENCY_SET/ a EXCLUDE_FROM_ALL' etc/packaging.cmake +# Prefer SVG icons, avoid dep on full graphviz +echo 'set(DOXYGEN_DOT_IMAGE_FORMAT svg)' >> etc/configure.cmake %build -%configure -make -j1 +%cmake \ + -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \ + %{nil} +%cmake_build %install -make DESTDIR=%{buildroot} install -find %{buildroot} -type f -name "*.la" -delete -print -rm -f %{buildroot}%{_libdir}/libsrecord.a -mkdir %{buildroot}/%{_docdir} -mv %{buildroot}/%{_datadir}/doc/%{name} %{buildroot}/%{_docdir}/%{name} +%cmake_install +# Only keep the reference PDF, remove HTML versions of man pages +rm -rf %{buildroot}%{_docdir}/%{name}/htdocs %check -make sure +%ctest %post -n lib%{name}%{so_ver} -p /sbin/ldconfig - %postun -n lib%{name}%{so_ver} -p /sbin/ldconfig %files -%defattr (-,root,root) -%doc AUTHORS LICENSE README +%license LICENSE +%doc AUTHORS README.md %{_bindir}/srec_cat %{_bindir}/srec_cmp %{_bindir}/srec_info @@ -106,18 +112,14 @@ %exclude %{_docdir}/%{name}/*.pdf %files -n lib%{name}%{so_ver} -%defattr (-,root,root,-) %{_libdir}/libsrecord.so.%{so_ver}* %files devel -%defattr (-,root,root) %{_libdir}/libsrecord.so %{_includedir}/srecord -%{_libdir}/pkgconfig/srecord.pc %{_mandir}/man3/srecord.3.gz %{_mandir}/man3/srecord_license.3.gz %files doc -%defattr (-,root,root) %{_docdir}/%{name}/*.pdf