Hello community,

here is the log from the commit of package kvm_stat for openSUSE:Factory 
checked in at 2019-09-13 15:02:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kvm_stat (Old)
 and      /work/SRC/openSUSE:Factory/.kvm_stat.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kvm_stat"

Fri Sep 13 15:02:28 2019 rev:9 rq:730468 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/kvm_stat/kvm_stat.changes        2019-08-07 
14:00:32.200853437 +0200
+++ /work/SRC/openSUSE:Factory/.kvm_stat.new.7948/kvm_stat.changes      
2019-09-13 15:03:54.877274641 +0200
@@ -1,0 +2,5 @@
+Thu Sep 12 17:42:23 UTC 2019 - Bruce Rogers <[email protected]>
+
+- Detect SLE15-SP2 / Leap 15.2 and patch accordingly
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ kvm_stat.spec ++++++
--- /var/tmp/diff_new_pack.LYJjEu/_old  2019-09-13 15:03:55.897274424 +0200
+++ /var/tmp/diff_new_pack.LYJjEu/_new  2019-09-13 15:03:55.901274423 +0200
@@ -97,12 +97,12 @@
 # copy necessary files from kernel-source
 (tar -C /usr/src/linux -c COPYING tools scripts) | tar -x
 
-%define SLE15_SP1   0%{?sle_version} == 150100 && 0%{?is_opensuse} != 1
-%define FACTORY     0%{?is_opensuse} && 0%{?suse_version} > 1500
-%define SLE_LEAP_15 0%{?sle_version} <= 150000 && 0%{?suse_version} <= 1500
-
+%define SLE15_SP1   (0%{?sle_version} == 150100 && 0%{?is_opensuse} != 1)
+%define FACTORY     (0%{?is_opensuse} && 0%{?suse_version} > 1500)
+%define SLE_LEAP_15 (0%{?sle_version} <= 150000 && 0%{?suse_version} <= 1500)
+%define SLE_LEAP_15_2 (0%{?sle_version} == 150200 && 0%{?suse_version} <= 1500)
 # Only apply the first few patches to SLES15-SP1
-%if 0%{?SLE15_SP1}
+%if %{SLE15_SP1}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -152,12 +152,12 @@
 %endif
 
 # If the build is SLE15 / Leap 15 or older
-%if 0%{?SLE_LEAP_15}
+%if %{SLE_LEAP_15}
 %patch46 -p1
 %endif
 
-# If the build is Factory or Tumbleweed only
-%if 0%{?FACTORY}
+# If the build is Factory or Tumbleweed or SLE15SP2 / Leap 15.2
+%if %{FACTORY} || %{SLE_LEAP_15_2}
 %patch47 -p1
 %patch49 -p1
 %else


Reply via email to