Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libusrp for openSUSE:Factory checked in at 2026-03-29 20:00:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libusrp (Old) and /work/SRC/openSUSE:Factory/.libusrp.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libusrp" Sun Mar 29 20:00:53 2026 rev:12 rq:1343403 version:3.4.11 Changes: -------- --- /work/SRC/openSUSE:Factory/libusrp/libusrp.changes 2025-12-11 18:45:28.387889002 +0100 +++ /work/SRC/openSUSE:Factory/.libusrp.new.8177/libusrp.changes 2026-03-29 20:01:15.194818700 +0200 @@ -1,0 +2,6 @@ +Sun Mar 29 09:48:51 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 3.4.11 + * Generate a version.h file. + +------------------------------------------------------------------- Old: ---- libusrp-3.4.10.tar.xz New: ---- libusrp-3.4.11.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libusrp.spec ++++++ --- /var/tmp/diff_new_pack.4kqV5N/_old 2026-03-29 20:01:15.774842596 +0200 +++ /var/tmp/diff_new_pack.4kqV5N/_new 2026-03-29 20:01:15.774842596 +0200 @@ -1,8 +1,8 @@ # # spec file for package libusrp # -# Copyright (c) 2025 SUSE LLC and contributors -# Copyright (c) 2018-2021, Martin Hauke <[email protected]> +# Copyright (c) 2026 SUSE LLC and contributors +# Copyright (c) 2018-2026, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ %define build_firmware 1 %endif Name: libusrp -Version: 3.4.10 +Version: 3.4.11 Release: 0 Summary: Stand-alone libusrp for USRP1 from old gnuradio.git License: GPL-3.0-or-later ++++++ _service ++++++ --- /var/tmp/diff_new_pack.4kqV5N/_old 2026-03-29 20:01:15.802843750 +0200 +++ /var/tmp/diff_new_pack.4kqV5N/_new 2026-03-29 20:01:15.806843915 +0200 @@ -1,14 +1,14 @@ <services> - <service name="tar_scm" mode="disabled"> - <param name="scm">git</param> - <param name="url">git://git.osmocom.org/libusrp</param> - <param name="parent-tag">3.4.8</param> - <param name="versionformat">3.4.8</param> - </service> - <service name="recompress" mode="disabled"> - <param name="file">*.tar</param> - <param name="compression">xz</param> - </service> - <service name="set_version" mode="disabled"/> + <service name="tar_scm" mode="manual"> + <param name="scm">git</param> + <param name="url">git://git.osmocom.org/libusrp</param> + <param name="parent-tag">3.4.11</param> + <param name="versionformat">3.4.11</param> + </service> + <service name="recompress" mode="manual"> + <param name="file">*.tar</param> + <param name="compression">xz</param> + </service> + <service name="set_version" mode="manual"/> </services> ++++++ libusrp-3.4.10.tar.xz -> libusrp-3.4.11.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libusrp-3.4.10/.gitignore new/libusrp-3.4.11/.gitignore --- old/libusrp-3.4.10/.gitignore 2025-02-12 11:52:14.000000000 +0100 +++ new/libusrp-3.4.11/.gitignore 2025-12-03 18:48:11.000000000 +0100 @@ -40,3 +40,4 @@ contrib/libusrp.spec /.version +/host/include/usrp/version.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libusrp-3.4.10/debian/changelog new/libusrp-3.4.11/debian/changelog --- old/libusrp-3.4.10/debian/changelog 2025-02-12 11:52:14.000000000 +0100 +++ new/libusrp-3.4.11/debian/changelog 2025-12-03 18:48:11.000000000 +0100 @@ -1,3 +1,10 @@ +libusrp (3.4.11) unstable; urgency=medium + + [ Oliver Smith ] + * Generate a version.h file + + -- Pau Espin Pedrol <[email protected]> Wed, 03 Dec 2025 18:48:11 +0100 + libusrp (3.4.10) unstable; urgency=medium * debian/control: add missing deps to -dev pkg diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libusrp-3.4.10/host/include/usrp/Makefile.am new/libusrp-3.4.11/host/include/usrp/Makefile.am --- old/libusrp-3.4.10/host/include/usrp/Makefile.am 2025-02-12 11:52:14.000000000 +0100 +++ new/libusrp-3.4.11/host/include/usrp/Makefile.am 2025-12-03 18:48:11.000000000 +0100 @@ -23,6 +23,15 @@ usrpincludedir = $(includedir)/usrp +version.h: version.h.tpl + $(AM_V_GEN)$(MKDIR_P) $(dir $@) + $(AM_V_GEN)sed \ + -e "s/{{VERSION}}/$$(echo '@VERSION@' | cut -d. -f1-3)/g" \ + -e "s/{{VERSION_MAJOR}}/$$(echo '@VERSION@' | cut -d. -f1)/g" \ + -e "s/{{VERSION_MINOR}}/$$(echo '@VERSION@' | cut -d. -f2)/g" \ + -e "s/{{VERSION_PATCH}}/$$(echo '@VERSION@' | cut -d. -f3)/g" \ + $< > $@ + usrpinclude_HEADERS = \ db_base.h \ db_basic.h \ @@ -45,10 +54,14 @@ usrp_slots.h \ usrp_standard.h \ usrp_subdev_spec.h \ - usrp_tune_result.h + usrp_tune_result.h \ + version.h \ + $(NULL) EXTRA_DIST += \ - libusb_types.h.in + libusb_types.h.in \ + version.h.tpl \ + $(NULL) swiginclude_HEADERS = \ db_base.i diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libusrp-3.4.10/host/include/usrp/version.h.tpl new/libusrp-3.4.11/host/include/usrp/version.h.tpl --- old/libusrp-3.4.10/host/include/usrp/version.h.tpl 1970-01-01 01:00:00.000000000 +0100 +++ new/libusrp-3.4.11/host/include/usrp/version.h.tpl 2025-12-03 18:48:11.000000000 +0100 @@ -0,0 +1,16 @@ +#pragma once + +#define LIBUSRP_VERSION {{VERSION}} +#define LIBUSRP_VERSION_STR "{{VERSION}}" + +#define LIBUSRP_VERSION_MAJOR {{VERSION_MAJOR}} +#define LIBUSRP_VERSION_MINOR {{VERSION_MINOR}} +#define LIBUSRP_VERSION_PATCH {{VERSION_PATCH}} + +#define LIBUSRP_VERSION_GREATER_EQUAL(major, minor, patch) \ + (LIBUSRP_VERSION_MAJOR > (major) || \ + (LIBUSRP_VERSION_MAJOR == (major) && \ + LIBUSRP_VERSION_MINOR > (minor)) || \ + (LIBUSRP_VERSION_MAJOR == (major) && \ + LIBUSRP_VERSION_MINOR == (minor) && \ + LIBUSRP_VERSION_PATCH >= (patch)))
