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 2021-05-12 19:32:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spi-tools (Old)
 and      /work/SRC/openSUSE:Factory/.spi-tools.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spi-tools"

Wed May 12 19:32:00 2021 rev:4 rq:892367 version:0.8.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/spi-tools/spi-tools.changes      2020-04-18 
00:33:45.402465578 +0200
+++ /work/SRC/openSUSE:Factory/.spi-tools.new.2988/spi-tools.changes    
2021-05-12 19:32:28.442979639 +0200
@@ -1,0 +2,9 @@
+Tue May 11 23:39:33 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 0.8.7:
+  * enable SPI abuse: Limit for the block size doesn't reflect how
+    far you can push most drivers. The driver itself should complain
+    if the block size is too large.
+  * Fixed typos
+
+-------------------------------------------------------------------

Old:
----
  spi-tools-0.8.4.tar.gz

New:
----
  spi-tools-0.8.7.tar.gz

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

Other differences:
------------------
++++++ spi-tools.spec ++++++
--- /var/tmp/diff_new_pack.41fKvM/_old  2021-05-12 19:32:28.914977754 +0200
+++ /var/tmp/diff_new_pack.41fKvM/_new  2021-05-12 19:32:28.918977738 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package spi-tools
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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:        0.8.4
+Version:        0.8.7
 Release:        0
 Summary:        A set of SPI tools for Linux
 License:        GPL-2.0-or-later

++++++ spi-tools-0.8.4.tar.gz -> spi-tools-0.8.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spi-tools-0.8.4/configure.ac 
new/spi-tools-0.8.7/configure.ac
--- old/spi-tools-0.8.4/configure.ac    2019-12-09 07:13:24.000000000 +0100
+++ new/spi-tools-0.8.7/configure.ac    2021-01-07 17:19:24.000000000 +0100
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.60])
-AC_INIT(spi-tools, 0.8.4, Christophe Blaess)
+AC_INIT(spi-tools, 0.8.7, Christophe Blaess)
 
 AM_INIT_AUTOMAKE([foreign])
 AM_MAINTAINER_MODE([disable])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spi-tools-0.8.4/src/spi-pipe.c 
new/spi-tools-0.8.7/src/spi-pipe.c
--- old/spi-tools-0.8.4/src/spi-pipe.c  2019-12-09 07:13:24.000000000 +0100
+++ new/spi-tools-0.8.7/src/spi-pipe.c  2021-01-07 17:19:24.000000000 +0100
@@ -93,7 +93,7 @@
                                break;
                        case 'b':
                                if ((sscanf(optarg, "%d", & blocksize) != 1)
-                                || (blocksize <= 0) || (blocksize > 16384)) {
+                                || (blocksize <= 0)) {
                                        fprintf(stderr, "%s: wrong 
blocksize\n", argv[0]);
                                        exit(EXIT_FAILURE);
                                }
@@ -116,7 +116,7 @@
                        default:
                                fprintf(stderr, "%s: wrong option. Use -h for 
help.\n", argv[0]);
                                exit(EXIT_FAILURE);
-               }                               
+               }
        }
 
        if (((rx_buffer = malloc(blocksize)) == NULL)
@@ -162,14 +162,15 @@
                        if (nb <= 0)
                                break;
                }
-               if (nb <= 0)
+               if ((nb <= 0) && (offset == 0))
                        break;
 
+               transfer.len = offset;
                if (ioctl(fd, SPI_IOC_MESSAGE(1), & transfer) < 0) {
                        perror("SPI_IOC_MESSAGE");
                        break;
                }
-               if (write(STDOUT_FILENO, rx_buffer, blocksize) <= 0)
+               if (write(STDOUT_FILENO, rx_buffer, offset) <= 0)
                        break;
                if (blocknumber > 0)
                        blocknumber --;

Reply via email to