packages: open-iscsi/open-iscsi.spec - added stat.patch (added missing incl...
wiget
wiget at pld-linux.org
Mon Jun 7 21:17:06 CEST 2010
Author: wiget Date: Mon Jun 7 19:17:06 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added stat.patch (added missing includes for S_ISDIR and co)
- fix -I in CFLAGS
- make in utils/sysdeps (for strlcpy/strlcat)
- rel. 1
---- Files affected:
packages/open-iscsi:
open-iscsi.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: packages/open-iscsi/open-iscsi.spec
diff -u packages/open-iscsi/open-iscsi.spec:1.19 packages/open-iscsi/open-iscsi.spec:1.20
--- packages/open-iscsi/open-iscsi.spec:1.19 Mon Jun 7 18:06:45 2010
+++ packages/open-iscsi/open-iscsi.spec Mon Jun 7 21:17:01 2010
@@ -3,7 +3,7 @@
# - /sbin/iscsistart is linked static, should it be linked uclibc/klibc-static for initrd?
#
%define subver 871.3
-%define rel 0.1
+%define rel 1
Summary: iSCSI - SCSI over IP
Summary(pl.UTF-8): iSCSI - SCSI po IP
Name: open-iscsi
@@ -15,6 +15,7 @@
# Source0-md5: 16474cb7cd5a41aea1b7b0b631ac996d
Source1: %{name}.init
Source2: %{name}.sysconfig
+Patch0: stat.patch
URL: http://www.open-iscsi.org/
BuildRequires: db-devel
BuildRequires: glibc-static
@@ -45,12 +46,13 @@
%prep
%setup -q -n %{name}-%{version}-%{subver}
+%patch0 -p1
%build
-for i in utils/fwparam_ibft usr utils; do
+for i in utils/sysdeps utils/fwparam_ibft usr utils; do
%{__make} -C $i \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -I../{include,usr} -I../../{include,usr} -DLinux -DNETLINK_ISCSI=12 -D_GNU_SOURCE"
+ CFLAGS="%{rpmcflags} -I../include -I../usr -I../../include -I../../usr -DLinux -DNETLINK_ISCSI=12 -D_GNU_SOURCE"
done
%install
@@ -117,6 +119,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2010/06/07 19:17:01 wiget
+- added stat.patch (added missing includes for S_ISDIR and co)
+- fix -I in CFLAGS
+- make in utils/sysdeps (for strlcpy/strlcat)
+- rel. 1
+
Revision 1.19 2010/06/07 16:06:45 caleb
- Up to 2.0.871.3, nfy
- Fixed rel to 0.1, doesn't build
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/open-iscsi/open-iscsi.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list