Hello community,

here is the log from the commit of package mhvtl for openSUSE:Factory checked 
in at 2018-07-28 12:40:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mhvtl (Old)
 and      /work/SRC/openSUSE:Factory/.mhvtl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mhvtl"

Sat Jul 28 12:40:01 2018 rev:2 rq:623922 version:1.53_release

Changes:
--------
--- /work/SRC/openSUSE:Factory/mhvtl/mhvtl.changes      2018-06-29 
22:29:21.178349334 +0200
+++ /work/SRC/openSUSE:Factory/.mhvtl.new/mhvtl.changes 2018-07-28 
12:40:04.308387648 +0200
@@ -1,0 +2,5 @@
+Mon Jul 16 18:41:00 UTC 2018 - [email protected]
+
+- Update SPEC file to correctly handle lib64 vs lib for ppc
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mhvtl.spec ++++++
--- /var/tmp/diff_new_pack.pois6r/_old  2018-07-28 12:40:05.200389362 +0200
+++ /var/tmp/diff_new_pack.pois6r/_new  2018-07-28 12:40:05.232389423 +0200
@@ -16,6 +16,12 @@
 #
 
 
+%ifnarch ppc
+%define buildkmp 1
+%else
+%define buildkmp 0
+%endif
+
 Name:           mhvtl
 Url:            https://github.com/markh794/mhvtl.git
 PreReq:         %insserv_prereq %fillup_prereq
@@ -25,14 +31,16 @@
 Requires:       module-init-tools
 Requires:       sg3_utils
 BuildRequires:  insserv-compat
+%if 0%{buildkmp} == 1
 BuildRequires:  kernel-syms
-BuildRequires:  lzo-devel
 BuildRequires:  module-init-tools
+%endif
+BuildRequires:  lzo-devel
 BuildRequires:  modutils
 BuildRequires:  openssl-devel
 BuildRequires:  zlib-devel
 Summary:        Open Source iSCSI Target with Professional Features
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          System/Daemons
 Source:         %{name}-%{version}.tar.xz
 Source2:        %{name}.preamble
@@ -40,7 +48,9 @@
 Patch2:         %{name}-set-lib64-correctly.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
+%if 0%{buildkmp} == 1
 %suse_kernel_module_package -n %{name} -p %{S:2} kdump ec2 um
+%endif
 
 %description
 A Virtual Tape & Library system.
@@ -53,7 +63,7 @@
 
 %package KMP
 Summary:        Open Source iSCSI Target with Professional Features
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          System/Daemons
 
 %description KMP
@@ -70,6 +80,7 @@
 
 %build
 %{__make} MHVTL_HOME_PATH=/var/lib/mhvtl VERSION=%{version}
+%if 0%{buildkmp} == 1
 for flavor in %flavors_to_build; do
        rm -rf obj/$flavor
        mkdir -p obj/$flavor
@@ -77,16 +88,19 @@
        make -C /usr/src/linux-obj/%_target_cpu/$flavor EXTRA_CFLAGS="-Iinclude 
-DMHVTL_DEBUG" modules \
              M=$PWD/obj/$flavor
 done
+%endif
 
 %install
 %{__make} BINGROUP=bin USR=bin GRP=bin DESTDIR=%{buildroot} \
-       MHVTL_HOME_PATH=/var/lib/%{name} VERSION=%{version} install
+       MHVTL_HOME_PATH=/var/lib/%{name} VERSION=%{version} LIBDIR=%{_libdir} 
install
+%if 0%{buildkmp} == 1
 export INSTALL_MOD_PATH=%{buildroot}
 export INSTALL_MOD_DIR=updates
 for flavor in %flavors_to_build; do
        make -C /usr/src/linux-obj/%_target_cpu/$flavor EXTRA_CFLAGS="-Iinclude 
-DMHVTL_DEBUG" modules_install \
              M=$PWD/obj/$flavor
 done
+%endif
 install -d -m 755 %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}
 install -d -m 755 %{buildroot}/var/lib/%{name}


Reply via email to