Hello community, here is the log from the commit of package wodim for openSUSE:Factory checked in at 2017-06-12 15:26:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wodim (Old) and /work/SRC/openSUSE:Factory/.wodim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wodim" Mon Jun 12 15:26:51 2017 rev:47 rq:501701 version:1.1.11 Changes: -------- --- /work/SRC/openSUSE:Factory/wodim/wodim.changes 2015-08-25 07:18:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.wodim.new/wodim.changes 2017-06-12 15:26:53.159293717 +0200 @@ -1,0 +2,6 @@ +Tue Sep 1 20:50:18 CEST 2015 - [email protected] + +- add fix-check_linux_26.patch: also compare major kernel version + number. (bsc#897950) + +------------------------------------------------------------------- New: ---- fix-check_linux_26.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wodim.spec ++++++ --- /var/tmp/diff_new_pack.HF2xqw/_old 2017-06-12 15:26:53.791204546 +0200 +++ /var/tmp/diff_new_pack.HF2xqw/_new 2017-06-12 15:26:53.795203982 +0200 @@ -43,6 +43,8 @@ Patch5: genisoimage-multi-extent-fix-bnc615177.patch # PATCH-FIX-OPENSUSE cdrkit-pie.diff [email protected] -- wodim must be pie as users may set suid bit on it Patch6: cdrkit-pie.diff +# PATCH-FIX-SLE fix-check_linux_26.patch bsc#897950 [email protected] +Patch7: fix-check_linux_26.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake @@ -120,6 +122,7 @@ %patch4 %patch5 %patch6 -p1 +%patch7 -p1 # Fix perl path find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g' # Fix permissions (no executables in doc files) ++++++ fix-check_linux_26.patch ++++++ Index: cdrkit-1.1.11/libusal/scsi-linux-sg.c =================================================================== --- cdrkit-1.1.11.orig/libusal/scsi-linux-sg.c +++ cdrkit-1.1.11/libusal/scsi-linux-sg.c @@ -251,7 +251,7 @@ static BOOL get_max_secs(char *dirpath, BOOL check_linux_26() { int gen, tmp; struct utsname buf; - return ( 0==uname( &buf ) && sscanf(buf.release, "%d.%d", &gen, &tmp)>1 && tmp>=6); + return ( 0==uname( &buf ) && sscanf(buf.release, "%d.%d", &gen, &tmp)>1 && gen==2 && tmp>=6); } int sg_open_excl(char *device, int mode, BOOL beQuiet)
