Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libgpiod for openSUSE:Factory checked in at 2022-02-17 23:40:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgpiod (Old) and /work/SRC/openSUSE:Factory/.libgpiod.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgpiod" Thu Feb 17 23:40:23 2022 rev:14 rq:955620 version:1.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libgpiod/libgpiod.changes 2020-04-23 18:40:13.077210377 +0200 +++ /work/SRC/openSUSE:Factory/.libgpiod.new.1958/libgpiod.changes 2022-02-17 23:41:58.123700198 +0100 @@ -1,0 +2,42 @@ +Wed Feb 16 18:27:03 UTC 2022 - Fabian Vogt <[email protected]> + +- Update to v1.6.3: + * Bug fixes: + - fix uninitialized default_vals being passed to gpiod_LineBulk_request() + in Python bindings + - fix building C++ bindings with clang + - fix one of the line request test cases +- Update to v1.6.2: + * Improvements: + - allow to build the library with pre linux v5.5 kernel headers +- Update to v1.6.1: + * Bug fixes: + - fix incorrect object size of gpiod.LineBulk in Python bindings + - fix a crash in Line.request() when it's called without keyword arguments +- Update to v1.6: + * New features: + - add a standardized '__version__' module attribute in Python bindings + - print the bias flags info (if set) in gpioinfo + * Improvements: + - remove unnecessary indirection in free_dirs() in iterator code + - put all ABI versions next to one another in configure.ac + - improve std namespace resolution in C++ bindings + - add more checks for non-standard functions in configure.ac + - various code size improvements + - enforce gnu89 C standard in makefiles + - many documentation improvements + - unduplicate signalfd() handling in tools + - fix a forward declaration for line_event in C++ bindings + * Bug fixes: + - relax is_gpiochip_cdev() for symbolic links + - make gpiod_line_get_value_bulk() work for bulks of lines requested for + events, not only those requested for values + - fix regex patterns for timestamps in gpiomon test cases + - remove leftover asserts from tests + - fix unit conversion in event timestamp calculation in C++ bindings + - fix reading subset of available events in core library +- Use %autosetup +- Mention soversions in %files +- Fix build with tests disabled + +------------------------------------------------------------------- Old: ---- libgpiod-1.5.1.tar.gz New: ---- libgpiod-1.6.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgpiod.spec ++++++ --- /var/tmp/diff_new_pack.qRx9KE/_old 2022-02-17 23:41:58.635700194 +0100 +++ /var/tmp/diff_new_pack.qRx9KE/_new 2022-02-17 23:41:58.643700194 +0100 @@ -1,7 +1,7 @@ # # spec file for package libgpiod # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,14 +19,14 @@ %define libgpiod_soversion 2 %define libgpiodcxx_soversion 1 %define libgpiomockup_soversion 0 -# Tests are only available for kernel 5.5+ (so TW only) -%if 0%{?suse_version} > 1500 +# Tests are only available for kernel 5.5+ (so TW and 15.4+ only) +%if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400 %bcond_without libgpiod_tests %else %bcond_with libgpiod_tests %endif Name: libgpiod -Version: 1.5.1 +Version: 1.6.3 Release: 0 Summary: C library and tools for interacting with the linux GPIO character device License: LGPL-2.1-or-later @@ -41,14 +41,14 @@ BuildRequires: libkmod-devel BuildRequires: libtool BuildRequires: make -BuildRequires: python3-devel +BuildRequires: python3-devel >= 3.5 %if %{with libgpiod_tests} BuildRequires: Catch2-devel BuildRequires: glib2-devel >= 2.50 BuildRequires: kernel-devel >= 5.5 BuildRequires: pkgconfig(libudev) %else -BuildRequires: kernel-devel >= 5.5 +BuildRequires: kernel-devel >= 4.8 %endif %description @@ -136,7 +136,7 @@ Python binding part. %prep -%setup -q +%autosetup -p1 %build ./autogen.sh @@ -153,10 +153,13 @@ %make_install rm -rf %{buildroot}%{_libdir}/*.{a,la} rm -rf %{buildroot}%{python3_sitearch}/*.{a,la} + +%if %{with libgpiod_tests} # Fix scripts interpreters sed -i 's#%{_bindir}/env bash#/bin/bash#' %{buildroot}/%{_bindir}/gpio-tools-test sed -i 's#%{_bindir}/env bats#%{_bindir}/bats#' %{buildroot}/%{_bindir}/gpio-tools-test.bats sed -i 's#%{_bindir}/env python3#%{_bindir}/python3#' %{buildroot}/%{_bindir}/gpiod_py_test.py +%endif %post -n libgpiod%{libgpiod_soversion} -p /sbin/ldconfig %postun -n libgpiod%{libgpiod_soversion} -p /sbin/ldconfig @@ -172,14 +175,17 @@ %{_bindir}/gpio* %files -n libgpiod%{libgpiod_soversion} -%{_libdir}/libgpiod.so.* +%{_libdir}/libgpiod.so.%{libgpiod_soversion} +%{_libdir}/libgpiod.so.%{libgpiod_soversion}.* %files -n libgpiodcxx%{libgpiodcxx_soversion} -%{_libdir}/libgpiodcxx.so.* +%{_libdir}/libgpiodcxx.so.%{libgpiodcxx_soversion} +%{_libdir}/libgpiodcxx.so.%{libgpiodcxx_soversion}.* %if %{with libgpiod_tests} %files -n libgpiomockup%{libgpiomockup_soversion} -%{_libdir}/libgpiomockup.so.* +%{_libdir}/libgpiomockup.so.%{libgpiomockup_soversion} +%{_libdir}/libgpiomockup.so.%{libgpiomockup_soversion}.* %endif %files devel ++++++ libgpiod-1.5.1.tar.gz -> libgpiod-1.6.3.tar.gz ++++++ ++++ 1837 lines of diff (skipped)
