Hello community,

here is the log from the commit of package libgpiod for openSUSE:Factory 
checked in at 2019-06-13 23:06:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgpiod (Old)
 and      /work/SRC/openSUSE:Factory/.libgpiod.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgpiod"

Thu Jun 13 23:06:37 2019 rev:6 rq:709751 version:1.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgpiod/libgpiod.changes        2019-04-14 
12:22:36.847774943 +0200
+++ /work/SRC/openSUSE:Factory/.libgpiod.new.4811/libgpiod.changes      
2019-06-13 23:06:41.323182197 +0200
@@ -1,0 +2,31 @@
+Thu Jun 13 13:37:45 UTC 2019 - Guillaume GARDET <[email protected]>
+
+- Replace *_number with *_soversion
+
+-------------------------------------------------------------------
+Thu Jun 13 12:43:51 UTC 2019 - Guillaume GARDET <[email protected]>
+
+- Enable build of tests (package gpiod-test and libgpiomockup) for Tumbleweed
+
+-------------------------------------------------------------------
+Thu Jun 13 10:49:43 UTC 2019 - Guillaume GARDET <[email protected]>
+
+- Update to 1.4:
+  * New features:
+    - updated the testing framework to work with linux v5.1 in which the 
debugfs
+      interface of the GPIO testing module changed in a backward incompatible 
way
+    - factored out the code controlling the GPIO testing module into a separate
+      shared library that may be reused by future testing executables for 
different
+      language bindings
+    - removed the --enable-install-tests build option and the make check 
target as
+      they were redundant, subsequently tests are now installed as a normal 
program
+      whenever they're enabled with --enable-tests
+
+  * Improvements:
+    - removed unnecessary std::move calls from C++ bindings
+    - added the explicit keyword to bool() operators in C++ bindings
+
+  * Bug fixes:
+    - fix out of source build of man pages
+
+-------------------------------------------------------------------

Old:
----
  libgpiod-1.3.tar.gz

New:
----
  libgpiod-1.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgpiod.spec ++++++
--- /var/tmp/diff_new_pack.mkbxkH/_old  2019-06-13 23:06:41.995181799 +0200
+++ /var/tmp/diff_new_pack.mkbxkH/_new  2019-06-13 23:06:41.995181799 +0200
@@ -16,11 +16,19 @@
 #
 
 
-%define libgpiod_number 2
-%define libgpiodcxx_number 1
+%define libgpiod_soversion 2
+%define libgpiodcxx_soversion 1
+%define libgpiomockup_soversion 0
+
+# Tests are only available for kernel 5.1+ (so TW only)
+%if 0%{?suse_version} > 1500
+%bcond_without libgpiod_tests
+%else
+%bcond_with libgpiod_tests
+%endif
 
 Name:           libgpiod
-Version:        1.3
+Version:        1.4
 Release:        0
 Summary:        Tools for interacting with the linux GPIO character device
 License:        LGPL-2.1-or-later
@@ -32,7 +40,12 @@
 BuildRequires:  automake
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
+%if %{with libgpiod_tests}
+BuildRequires:  kernel-devel >= 5.1
+BuildRequires:  libudev-devel
+%else
 BuildRequires:  kernel-devel >= 4.8
+%endif
 BuildRequires:  libkmod-devel
 BuildRequires:  libtool
 BuildRequires:  make
@@ -43,36 +56,48 @@
 of the GPIO character devices, the latter of which superseded the
 GPIO sysfs interface in Linux 4.8.
 
-%package -n libgpiod%{libgpiod_number}
+%package -n libgpiod%{libgpiod_soversion}
 Summary:        C library for interacting with the linux GPIO character device
 Group:          System/Libraries
 Conflicts:      libgpiod1
 
-%description -n libgpiod%{libgpiod_number}
+%description -n libgpiod%{libgpiod_soversion}
 The libgpiod library encapsulates the ioctl calls and data structures
 of the GPIO character devices, the latter of which superseded the
 GPIO sysfs interface in Linux 4.8.
 
 C library part.
 
-%package -n libgpiodcxx%{libgpiodcxx_number}
+%package -n libgpiodcxx%{libgpiodcxx_soversion}
 Summary:        C++library for interacting with the linux GPIO character device
 Group:          System/Libraries
 Conflicts:      libgpiod1
 
-%description -n libgpiodcxx%{libgpiodcxx_number}
+%description -n libgpiodcxx%{libgpiodcxx_soversion}
 The libgpiod library encapsulates the ioctl calls and data structures
 of the GPIO character devices, the latter of which superseded the
 GPIO sysfs interface in Linux 4.8.
 
 C++ library part.
 
+%package -n libgpiomockup%{libgpiomockup_soversion}
+Summary:        C library for interacting with the linux GPIO character device
+Group:          System/Libraries
+Conflicts:      libgpiod1
+
+%description -n libgpiomockup%{libgpiomockup_soversion}
+The libgpiod library encapsulates the ioctl calls and data structures
+of the GPIO character devices, the latter of which superseded the
+GPIO sysfs interface in Linux 4.8.
+
+GPIO mockup library part.
+
 %package devel
 Summary:        Devel files for libgpiod
 Group:          Development/Languages/C and C++
 Requires:       %{name}
-Requires:       libgpiod%{libgpiod_number} = %{version}
-Requires:       libgpiodcxx%{libgpiodcxx_number} = %{version}
+Requires:       libgpiod%{libgpiod_soversion} = %{version}
+Requires:       libgpiodcxx%{libgpiodcxx_soversion} = %{version}
 
 %description devel
 The libgpiod library encapsulates the ioctl calls and data structures
@@ -98,6 +123,9 @@
 %build
 ./autogen.sh
 %configure \
+%if %{with libgpiod_tests}
+       --enable-tests \
+%endif
        --enable-tools=yes \
        --enable-bindings-python \
        --enable-bindings-cxx 
@@ -108,20 +136,25 @@
 rm -rf %{buildroot}%{_libdir}/*.{a,la}
 rm -rf %{buildroot}%{python3_sitearch}/*.{a,la}
 
-%post -n libgpiod%{libgpiod_number} -p /sbin/ldconfig
-%postun        -n libgpiod%{libgpiod_number} -p /sbin/ldconfig
-%post -n libgpiodcxx%{libgpiodcxx_number} -p /sbin/ldconfig
-%postun        -n libgpiodcxx%{libgpiodcxx_number} -p /sbin/ldconfig
+%post -n libgpiod%{libgpiod_soversion} -p /sbin/ldconfig
+%postun        -n libgpiod%{libgpiod_soversion} -p /sbin/ldconfig
+%post -n libgpiodcxx%{libgpiodcxx_soversion} -p /sbin/ldconfig
+%postun        -n libgpiodcxx%{libgpiodcxx_soversion} -p /sbin/ldconfig
 
 %files
 %{_bindir}/gpio*
 
-%files -n libgpiod%{libgpiod_number}
+%files -n libgpiod%{libgpiod_soversion}
 %{_libdir}/libgpiod.so.*
 
-%files -n libgpiodcxx%{libgpiodcxx_number}
+%files -n libgpiodcxx%{libgpiodcxx_soversion}
 %{_libdir}/libgpiodcxx.so.*
 
+%if %{with libgpiod_tests}
+%files -n libgpiomockup%{libgpiomockup_soversion}
+%{_libdir}/libgpiomockup.so.*
+%endif
+
 %files devel
 %{_includedir}/*.h*
 %{_libdir}/*.so

++++++ libgpiod-1.3.tar.gz -> libgpiod-1.4.tar.gz ++++++
++++ 2536 lines of diff (skipped)


Reply via email to