Remove old patches
OBS-URL: https://build.opensuse.org/package/show/filesystems/vhba-kmp?expand=0&rev=9
This commit is contained in:
parent
537673dbb3
commit
898746f1e3
@ -6,6 +6,7 @@ Sun Jun 9 14:14:21 UTC 2013 - jengelh@inai.de
|
|||||||
* Allow longer commands to be issues on VHBA.
|
* Allow longer commands to be issues on VHBA.
|
||||||
* Explicitly distinguish between device addition and device removal
|
* Explicitly distinguish between device addition and device removal
|
||||||
change, and resolve cases when both occur before rescan is done.
|
change, and resolve cases when both occur before rescan is done.
|
||||||
|
- Remove vhba-parallel-build.diff, vhba-pwd.diff (merged upstream)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 30 02:57:55 UTC 2013 - jengelh@inai.de
|
Sat Mar 30 02:57:55 UTC 2013 - jengelh@inai.de
|
||||||
|
@ -27,8 +27,6 @@ Url: http://cdemu.sf.net/
|
|||||||
#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
|
#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
|
||||||
Source: http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2
|
Source: http://downloads.sf.net/cdemu/vhba-module-%version.tar.bz2
|
||||||
Source2: %name-preamble
|
Source2: %name-preamble
|
||||||
Patch1: vhba-pwd.diff
|
|
||||||
Patch2: vhba-parallel-build.diff
|
|
||||||
Patch3: vhba-no-werror.diff
|
Patch3: vhba-no-werror.diff
|
||||||
BuildRequires: kernel-devel >= 2.6.20
|
BuildRequires: kernel-devel >= 2.6.20
|
||||||
BuildRequires: kernel-syms >= 2.6.20
|
BuildRequires: kernel-syms >= 2.6.20
|
||||||
@ -57,7 +55,7 @@ Linux.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn vhba-module-%version
|
%setup -qn vhba-module-%version
|
||||||
%patch -P 1 -P 2 -P 3 -p1
|
%patch -P 3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for flavor in %flavors_to_build; do
|
for flavor in %flavors_to_build; do
|
||||||
|
@ -6,16 +6,16 @@ Upstream: tendency: no
|
|||||||
Makefile | 2 +-
|
Makefile | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
Index: vhba-module-20120422/Makefile
|
Index: vhba-module-20130607/Makefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- vhba-module-20120422.orig/Makefile
|
--- vhba-module-20130607.orig/Makefile
|
||||||
+++ vhba-module-20120422/Makefile
|
+++ vhba-module-20130607/Makefile
|
||||||
@@ -1,7 +1,7 @@
|
@@ -8,7 +8,7 @@ KDIR ?= /lib/modules/$(KERNELRELEASE)/bu
|
||||||
VHBA_VERSION = $(shell date -r ${src}/vhba.c +%Y%m%d)
|
PWD ?= $(shell pwd)
|
||||||
PACKAGE = vhba-module-$(VHBA_VERSION)
|
|
||||||
|
|
||||||
-EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror
|
obj-m := vhba.o
|
||||||
+EXTRA_CFLAGS += -DVHBA_VERSION=\"$(VHBA_VERSION)\"
|
-ccflags-y := -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror
|
||||||
|
+ccflags-y := -DVHBA_VERSION=\"$(VHBA_VERSION)\"
|
||||||
obj-m += vhba.o
|
clean-dirs := $(PACKAGE)
|
||||||
|
clean-files := $(PACKAGE).tar.gz $(PACKAGE).tar.bz2
|
||||||
|
|
||||||
|
@ -1,46 +0,0 @@
|
|||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
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:
|
|
@ -1,29 +0,0 @@
|
|||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user