Hello community, here is the log from the commit of package iscsitarget for openSUSE:Factory checked in at 2014-02-22 18:10:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iscsitarget (Old) and /work/SRC/openSUSE:Factory/.iscsitarget.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "iscsitarget" Changes: -------- --- /work/SRC/openSUSE:Factory/iscsitarget/iscsitarget.changes 2014-01-23 15:45:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.iscsitarget.new/iscsitarget.changes 2014-02-22 18:10:29.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Feb 18 19:36:41 PST 2014 - lduncan@suse.com + +- Fixed Tumbleweed build error with Patch5 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iscsitarget.spec ++++++ --- /var/tmp/diff_new_pack.HHCYNz/_old 2014-02-22 18:10:29.000000000 +0100 +++ /var/tmp/diff_new_pack.HHCYNz/_new 2014-02-22 18:10:29.000000000 +0100 @@ -20,6 +20,7 @@ BuildRequires: kernel-syms BuildRequires: module-init-tools BuildRequires: openssl-devel +BuildRequires: zypper Url: http://iscsitarget.sourceforge.net PreReq: %fillup_prereq %insserv_prereq /bin/cat /bin/rm Version: 1.4.20.3 @@ -67,9 +68,10 @@ %if 0%{?suse_version} > 1230 %patch4 %endif -%if 0%{?suse_version} > 1310 -%patch5 -p1 %endif +%define kernel_ver %(rpm -q --qf '%%{version}' kernel-syms) +%if %(zypper --terse vcmp %{kernel_ver} 3.13) >= 0 +%patch5 -p1 %endif echo "iscsi_trgt.ko yes" > kernel/Module.supported -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org