Hello community, here is the log from the commit of package libgpiod for openSUSE:Factory checked in at 2019-04-14 12:22:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgpiod (Old) and /work/SRC/openSUSE:Factory/.libgpiod.new.27019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libgpiod" Sun Apr 14 12:22:33 2019 rev:5 rq:693637 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/libgpiod/libgpiod.changes 2018-12-04 20:55:11.792794951 +0100 +++ /work/SRC/openSUSE:Factory/.libgpiod.new.27019/libgpiod.changes 2019-04-14 12:22:36.847774943 +0200 @@ -1,0 +2,49 @@ +Fri Apr 12 07:16:19 UTC 2019 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Add conflicts with libgpiod1 to help upgrade + +------------------------------------------------------------------- +Fri Apr 5 23:42:51 UTC 2019 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- devel package now requires libgpiod and libgpiodcxx + +------------------------------------------------------------------- +Fri Apr 5 14:47:31 UTC 2019 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Move libgpiodcxx to its own package + +------------------------------------------------------------------- +Wed Apr 3 19:30:52 UTC 2019 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to 1.3: + * New features: + - the gpio-tools now have automatically generated (using help2man) man pages + that are bundled with the release tarball + - support a singular 'default_val' argument in Line.request() in python + bindings + - the test executable can now be installed to the bindir along with the + gpio-tools and the testing framework will look for the binaries in standard + locations if it's not run from the top source directory + - gpiomon now supports line buffered output + + * Improvements: + - tweaks to the C API documentation + - treewide unification of the naming of local variables + - extended helptest in gpioset (explanation of the way the character device + works aimed at reducing user confusion when a GPIO line reverts to its + default value after gpioset exits) + - the source directories have been rearranged and the src/ directory was + dropped, lib/ and tools/ now live in the top source directory + - minor coding style fixes in python bindings, ctxless functions and tools + - automatically generated documentation is now removed by 'make clean' + - all Makefiles now use top_builddir instead of relative paths + - code shrink in configure.ac + - add a brief section about API documentation to README + + * Bug fixes: + - fix a segfault causing bug in C++ bindings + - make bitset_cmp::operator() const as this is required by C++17 + - ignore 'remove' events from udev in the testing framework + - don't segfault on num_lines = 0 in ctxless functions + +------------------------------------------------------------------- Old: ---- libgpiod-1.2.tar.gz New: ---- libgpiod-1.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgpiod.spec ++++++ --- /var/tmp/diff_new_pack.5Ohbtz/_old 2019-04-14 12:22:37.371775571 +0200 +++ /var/tmp/diff_new_pack.5Ohbtz/_new 2019-04-14 12:22:37.375775576 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgpiod # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,11 @@ # -%define libname libgpiod1 +%define libgpiod_number 2 +%define libgpiodcxx_number 1 Name: libgpiod -Version: 1.2 +Version: 1.3 Release: 0 Summary: Tools for interacting with the linux GPIO character device License: LGPL-2.1-or-later @@ -42,21 +43,36 @@ of the GPIO character devices, the latter of which superseded the GPIO sysfs interface in Linux 4.8. -%package -n %{libname} +%package -n libgpiod%{libgpiod_number} Summary: C library for interacting with the linux GPIO character device Group: System/Libraries +Conflicts: libgpiod1 -%description -n %{libname} +%description -n libgpiod%{libgpiod_number} 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. -Library part. +C library part. + +%package -n libgpiodcxx%{libgpiodcxx_number} +Summary: C++library for interacting with the linux GPIO character device +Group: System/Libraries +Conflicts: libgpiod1 + +%description -n libgpiodcxx%{libgpiodcxx_number} +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 devel Summary: Devel files for libgpiod Group: Development/Languages/C and C++ Requires: %{name} +Requires: libgpiod%{libgpiod_number} = %{version} +Requires: libgpiodcxx%{libgpiodcxx_number} = %{version} %description devel The libgpiod library encapsulates the ioctl calls and data structures @@ -92,14 +108,19 @@ rm -rf %{buildroot}%{_libdir}/*.{a,la} rm -rf %{buildroot}%{python3_sitearch}/*.{a,la} -%post -n %{libname} -p /sbin/ldconfig -%postun -n %{libname} -p /sbin/ldconfig +%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 %files %{_bindir}/gpio* -%files -n %{libname} -%{_libdir}/libgpiod*.so.* +%files -n libgpiod%{libgpiod_number} +%{_libdir}/libgpiod.so.* + +%files -n libgpiodcxx%{libgpiodcxx_number} +%{_libdir}/libgpiodcxx.so.* %files devel %{_includedir}/*.h* ++++++ libgpiod-1.2.tar.gz -> libgpiod-1.3.tar.gz ++++++ ++++ 7936 lines of diff (skipped)