SPECS: iscsitarget.spec - up to 0.4.16 - added include patch and define _GN...

tommat tommat at pld-linux.org
Wed Sep 24 21:47:18 CEST 2008


Author: tommat                       Date: Wed Sep 24 19:47:18 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.4.16
- added include patch and define _GNU_SOURCE while building userspace
- builds

---- Files affected:
SPECS:
   iscsitarget.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/iscsitarget.spec
diff -u SPECS/iscsitarget.spec:1.19 SPECS/iscsitarget.spec:1.20
--- SPECS/iscsitarget.spec:1.19	Thu Apr 19 00:58:10 2007
+++ SPECS/iscsitarget.spec	Wed Sep 24 21:47:12 2008
@@ -10,14 +10,15 @@
 Summary:	iSCSI target - SCSI over IP
 Summary(pl.UTF-8):	iSCSI target - SCSI po IP
 Name:		iscsitarget
-Version:	0.4.15
+Version:	0.4.16
 Release:	%{_rel}
 License:	GPL
 Group:		Base/Kernel
 Source0:	http://dl.sourceforge.net/iscsitarget/%{name}-%{version}.tar.gz
-# Source0-md5:	81390e388d87e3cc17383ef5f4322c28
+# Source0-md5:	c7ea3192f1717b40e4c483c9d630082d
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
+Patch0:		%{name}-include.patch
 URL:		http://iscsitarget.sourceforge.net/
 # for %%service:
 #BuildRequires:	rpmbuild(macros) >= 1.379
@@ -58,6 +59,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with kernel}
@@ -67,7 +69,7 @@
 %if %{with userspace}
 %{__make} -C usr \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -fno-inline -Wall -I../include"
+	CFLAGS="%{rpmcflags} -fno-inline -Wall -I../include -D_GNU_SOURCE"
 %endif
 
 %install
@@ -131,6 +133,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2008/09/24 19:47:12  tommat
+- up to 0.4.16
+- added include patch and define _GNU_SOURCE while building userspace
+- builds
+
 Revision 1.19  2007/04/18 22:58:10  zbyniu
 - up to 0.4.15; new style kernel module build macros
 - removed up, smp bcond and smp package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/iscsitarget.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list