Hello community,

here is the log from the commit of package vhba-kmp.1636 for 
openSUSE:12.3:Update checked in at 2013-06-05 12:04:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/vhba-kmp.1636 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.vhba-kmp.1636.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vhba-kmp.1636"

Changes:
--------
New Changes file:

--- /dev/null   2013-05-23 01:40:31.032032505 +0200
+++ /work/SRC/openSUSE:12.3:Update/.vhba-kmp.1636.new/vhba-kmp.changes  
2013-06-05 12:04:24.000000000 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Tue May  8 21:05:27 UTC 2012 - [email protected]
+
+- Initial package for build.opensuse.org

New:
----
  vhba-kmp-preamble
  vhba-kmp.changes
  vhba-kmp.spec
  vhba-module-20120422.tar.bz2
  vhba-no-werror.diff
  vhba-parallel-build.diff
  vhba-pwd.diff

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

Other differences:
------------------
++++++ vhba-kmp.spec ++++++
#
# spec file for package vhba-kmp
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           vhba-kmp
Version:        20120422
Release:        0
Summary:        Virtual SCSI Host Bus Adapter
License:        GPL-2.0+
Group:          System/Kernel
Url:            http://cdemu.sf.net/

Source:         http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2
Source2:        %name-preamble
Patch1:         vhba-pwd.diff
Patch2:         vhba-parallel-build.diff
Patch3:         vhba-no-werror.diff
BuildRequires:  kernel-devel >= 2.6.20
BuildRequires:  kernel-source
BuildRequires:  kernel-syms >= 2.6.0
BuildRequires:  module-init-tools
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%kernel_module_package -n vhba -p %name-preamble

%description
A Linux kernel module implementing a virtual SCSI Host Bus Adapter to
act as a low-level SCSI driver and which provides the SCSI layer with
a virtual SCSI adapter which can have multiple virtual devices. It is
part of the userspace cdemu suite, CD/DVD-ROM device emulator for
Linux.

%package KMP
Summary:        Virtual SCSI Host Bus adapter
Group:          System/Kernel

%description KMP
A Linux kernel module implementing a virtual SCSI Host Bus Adapter to
act as a low-level SCSI driver and which provides the SCSI layer with
a virtual SCSI adapter which can have multiple virtual devices. It is
part of the userspace cdemu suite, CD/DVD-ROM device emulator for
Linux.

%prep
%setup -qn vhba-module-%version
%patch -P 1 -P 2 -P 3 -p1

%build
for flavor in %flavors_to_build; do
        cp -a . "../obj-$flavor";
        pushd "../obj-$flavor/";
        make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \
                %{?_smp_mflags};
        popd;
done;

%install
export INSTALL_MOD_PATH="%buildroot";

for flavor in %flavors_to_build; do
        pushd "../obj-$flavor/";
        make KDIR="/usr/src/linux-obj/%_target_cpu/$flavor" \
                modules_install;
        popd;
done;

%changelog
++++++ vhba-kmp-preamble ++++++
Enhances:       kernel-%1
Requires:       kernel-%1
Supplements:    packageand(kernel-%1:vhba)
++++++ vhba-no-werror.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2012-05-08 22:52:51.798190070 +0200
Upstream: tendency: no

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: vhba-module-20120422/Makefile
===================================================================
--- vhba-module-20120422.orig/Makefile
+++ vhba-module-20120422/Makefile
@@ -1,7 +1,7 @@
 VHBA_VERSION = $(shell date -r ${src}/vhba.c +%Y%m%d)
 PACKAGE = vhba-module-$(VHBA_VERSION)
 
-EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror
+EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\"
 
 obj-m += vhba.o
 
++++++ vhba-parallel-build.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2012-05-08 22:50:50.918987100

build: enable parallel build

${MAKE} -C must not be hidden behind a variable to not break parallel
building.

---
 Makefile |   11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

Index: vhba-module-20120422/Makefile
===================================================================
--- vhba-module-20120422.orig/Makefile
+++ vhba-module-20120422/Makefile
@@ -5,27 +5,18 @@ EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_
 
 obj-m += vhba.o
 
-PWD    ?= `pwd`
 KERNELRELEASE ?= `uname -r`
 KDIR ?= /lib/modules/$(KERNELRELEASE)/build
-KMAKE := $(MAKE) -C $(KDIR) M=$(PWD)
 
 DOCS = AUTHORS ChangeLog COPYING INSTALL NEWS README
 
 all: modules
 
-modules:
-       $(KMAKE) modules
-
-module_install:
-       $(KMAKE) modules_install
+modules modules_install clean:
+       ${MAKE} -C ${KDIR} M=$$PWD $@
 
 install: module_install
 
-clean:
-       $(KMAKE) clean
-       rm -fr $(PACKAGE)
-
 dist: dist-gzip
 
 dist-dir:
++++++ vhba-pwd.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2012-05-08 22:51:09 +0200

build: fix incorrect use of $(PWD)

With out-of-tree builds, I am getting this warning:

date: /usr/src/linux-3.1.10-1.9/vhba.c: No such file or directory

So use the proper directory.

---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: vhba-module-20120422/Makefile
===================================================================
--- vhba-module-20120422.orig/Makefile
+++ vhba-module-20120422/Makefile
@@ -1,7 +1,7 @@
-VHBA_VERSION = $(shell date -r $(PWD)/vhba.c +%Y%m%d)
+VHBA_VERSION = $(shell date -r ${src}/vhba.c +%Y%m%d)
 PACKAGE = vhba-module-$(VHBA_VERSION)
 
-EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\" -I$(PWD) -Werror
+EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror
 
 obj-m += vhba.o
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to