Hello community, here is the log from the commit of package smp_utils for openSUSE:Factory checked in at 2018-08-15 10:32:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smp_utils (Old) and /work/SRC/openSUSE:Factory/.smp_utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "smp_utils" Wed Aug 15 10:32:27 2018 rev:21 rq:627854 version:0.98 Changes: -------- --- /work/SRC/openSUSE:Factory/smp_utils/smp_utils.changes 2015-03-30 19:10:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.smp_utils.new/smp_utils.changes 2018-08-15 10:32:29.287648328 +0200 @@ -1,0 +2,5 @@ +Wed Aug 1 14:19:38 UTC 2018 - sch...@suse.de + +- sysmacros.patch: Include <sys/sysmacros.h> for major/minor/makedev + +------------------------------------------------------------------- New: ---- sysmacros.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smp_utils.spec ++++++ --- /var/tmp/diff_new_pack.h5cWWb/_old 2018-08-15 10:32:29.919649470 +0200 +++ /var/tmp/diff_new_pack.h5cWWb/_new 2018-08-15 10:32:29.919649470 +0200 @@ -1,7 +1,7 @@ # # spec file for package smp_utils # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -21,10 +21,11 @@ Version: 0.98 Release: 0 Summary: Utilities for the SAS Management Protocol (SMP) -License: BSD-3-Clause and GPL-2.0 +License: BSD-3-Clause AND GPL-2.0-only Group: Hardware/Other Source: http://sg.danny.cz/sg/p/%name-%version.tar.xz +Patch: sysmacros.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: xz Provides: scsi:/usr/bin/smp_conf_general @@ -73,6 +74,7 @@ %prep %setup -q +%patch -p1 %build # None of these is performance-critical, so use -Os rather than -O2: ++++++ sysmacros.patch ++++++ Index: smp_utils-0.98/lib/smp_aac_io.c =================================================================== --- smp_utils-0.98.orig/lib/smp_aac_io.c +++ smp_utils-0.98/lib/smp_aac_io.c @@ -7,6 +7,7 @@ #include <fcntl.h> #include <unistd.h> #include <sys/types.h> +#include <sys/sysmacros.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <string.h> Index: smp_utils-0.98/lib/smp_lin_bsg.c =================================================================== --- smp_utils-0.98.orig/lib/smp_lin_bsg.c +++ smp_utils-0.98/lib/smp_lin_bsg.c @@ -41,6 +41,7 @@ //#include <curses.h> #include <unistd.h> #include <sys/types.h> +#include <sys/sysmacros.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/time.h> Index: smp_utils-0.98/lib/smp_mptctl_io.c =================================================================== --- smp_utils-0.98.orig/lib/smp_mptctl_io.c +++ smp_utils-0.98/lib/smp_mptctl_io.c @@ -16,6 +16,7 @@ //#include <curses.h> #include <unistd.h> #include <sys/types.h> +#include <sys/sysmacros.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <string.h>