Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package spi-tools for openSUSE:Factory checked in at 2023-01-03 15:05:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spi-tools (Old) and /work/SRC/openSUSE:Factory/.spi-tools.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spi-tools" Tue Jan 3 15:05:46 2023 rev:6 rq:1046442 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/spi-tools/spi-tools.changes 2021-12-10 21:53:31.910922996 +0100 +++ /work/SRC/openSUSE:Factory/.spi-tools.new.1563/spi-tools.changes 2023-01-03 15:06:11.934801764 +0100 @@ -1,0 +2,8 @@ +Mon Jan 2 14:20:16 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.0.2: + * fix homepage url + * Parameter for SPI_IOC_WR_LSB_FIRST ioctl is {0, 1}. + * Documentation fixes + +------------------------------------------------------------------- Old: ---- spi-tools-1.0.1.tar.gz New: ---- spi-tools-1.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spi-tools.spec ++++++ --- /var/tmp/diff_new_pack.YohYrB/_old 2023-01-03 15:06:12.362804262 +0100 +++ /var/tmp/diff_new_pack.YohYrB/_new 2023-01-03 15:06:12.366804286 +0100 @@ -1,7 +1,7 @@ # # spec file for package spi-tools # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -17,7 +17,7 @@ Name: spi-tools -Version: 1.0.1 +Version: 1.0.2 Release: 0 Summary: A set of SPI tools for Linux License: GPL-2.0-or-later ++++++ spi-tools-1.0.1.tar.gz -> spi-tools-1.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spi-tools-1.0.1/README.md new/spi-tools-1.0.2/README.md --- old/spi-tools-1.0.1/README.md 2021-11-27 09:58:21.000000000 +0100 +++ new/spi-tools-1.0.2/README.md 2022-08-18 16:42:22.000000000 +0200 @@ -2,7 +2,7 @@ This package contains some simple command line tools to help using Linux spidev devices. -Version 1.0.1 +Version 1.0.2 ## Content @@ -21,7 +21,7 @@ ## Author Christophe Blaess -http://www.blaess.fr/christophe +https://www.blaess.fr/christophe ## Installation @@ -143,5 +143,5 @@ For example, to send the bytes sequence 0x01-0x82-0xF3 and see the reply, use: ``` -$ printf '\x01\x82\F3' | spi-pipe -d /dev/spidev0.0 | hexdump -C +$ printf '\x01\x82\xF3' | spi-pipe -d /dev/spidev0.0 | hexdump -C ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spi-tools-1.0.1/configure.ac new/spi-tools-1.0.2/configure.ac --- old/spi-tools-1.0.1/configure.ac 2021-11-27 09:58:21.000000000 +0100 +++ new/spi-tools-1.0.2/configure.ac 2022-08-18 16:42:22.000000000 +0200 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.60]) -AC_INIT(spi-tools, 1.0.1, Christophe Blaess) +AC_INIT(spi-tools, 1.0.2, Christophe Blaess) AM_INIT_AUTOMAKE([foreign]) AM_MAINTAINER_MODE([disable]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spi-tools-1.0.1/man/spi-config.1 new/spi-tools-1.0.2/man/spi-config.1 --- old/spi-tools-1.0.1/man/spi-config.1 2021-11-27 09:58:21.000000000 +0100 +++ new/spi-tools-1.0.2/man/spi-config.1 2022-08-18 16:42:22.000000000 +0200 @@ -73,7 +73,7 @@ Close device previously open: $ \fBkill\fP $PID .SH AUTHOR -Written by Christophe BLAESS <http://www.blaess.fr/christophe>. +Written by Christophe BLAESS <https://www.blaess.fr/christophe>. .SH "REPORTING BUGS" .br Github home page: <https://github.com/cpb-/spi-tools.git> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spi-tools-1.0.1/man/spi-pipe.1 new/spi-tools-1.0.2/man/spi-pipe.1 --- old/spi-tools-1.0.1/man/spi-pipe.1 2021-11-27 09:58:21.000000000 +0100 +++ new/spi-tools-1.0.2/man/spi-pipe.1 2022-08-18 16:42:22.000000000 +0200 @@ -51,7 +51,7 @@ Read 40 blocks of 4 bytes from the SPI link $ \fBspi\-pipe \-\-device=/dev/spidev0.0 \-b 4 \-n 40 < /dev/zero\fR | \fIcommand-2\fR .SH AUTHOR -Written by Christophe BLAESS <http://www.blaess.fr/christophe>. +Written by Christophe BLAESS <https://www.blaess.fr/christophe>. .SH "REPORTING BUGS" .br Github home page: <https://github.com/cpb-/spi-tools.git> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spi-tools-1.0.1/src/spi-tools.c new/spi-tools-1.0.2/src/spi-tools.c --- old/spi-tools-1.0.1/src/spi-tools.c 2021-11-27 09:58:21.000000000 +0100 +++ new/spi-tools-1.0.2/src/spi-tools.c 2022-08-18 16:42:22.000000000 +0200 @@ -45,7 +45,7 @@ perror("SPI_IOC_RD_LSB_FIRST"); return -1; } - config->lsb_first = (u8 == SPI_LSB_FIRST ? 1 : 0); + config->lsb_first = (u8 ? 1 : 0); if (ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &u8) < 0) { perror("SPI_IOC_RD_BITS_PER_WORD"); @@ -77,7 +77,7 @@ return -1; } - u8 = (config->lsb_first ? SPI_LSB_FIRST : 0); + u8 = (config->lsb_first ? 1 : 0); if (ioctl(fd, SPI_IOC_WR_LSB_FIRST, &u8) < 0) { perror("SPI_IOC_WR_LSB_FIRST"); return -1; @@ -94,7 +94,7 @@ perror("SPI_IOC_WR_MAX_SPEED_HZ"); return -1; } - + return 0; }