Author: glen                         Date: Sat May 24 10:55:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- needs glibc-static for iscsi-start
- unify

---- Files affected:
SPECS:
   open-iscsi.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/open-iscsi.spec
diff -u SPECS/open-iscsi.spec:1.11 SPECS/open-iscsi.spec:1.12
--- SPECS/open-iscsi.spec:1.11  Sat May 24 03:04:43 2008
+++ SPECS/open-iscsi.spec       Sat May 24 12:55:49 2008
@@ -1,19 +1,23 @@
 # $Revision$, $Date$
-%define                _rc  865.15
-%define                _rel 2
+# TODO
+# - /sbin/iscsistart is linked static, should it be linked uclibc/klibc-static 
for initrd?
+#
+%define                subver  865.15
+%define                rel             2
 Summary:       iSCSI - SCSI over IP
 Summary(pl.UTF-8):     iSCSI - SCSI po IP
 Name:          open-iscsi
 Version:       2.0
-Release:       0.%{_rc}.%{_rel}
+Release:       0.%{subver}.%{rel}
 License:       GPL
 Group:         Networking/Daemons
-Source0:       http://www.open-iscsi.org/bits/%{name}-%{version}-%{_rc}.tar.gz
+Source0:       
http://www.open-iscsi.org/bits/%{name}-%{version}-%{subver}.tar.gz
 # Source0-md5: 2efff8c813ec84677a80c3e881942ffc
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 URL:           http://www.open-iscsi.org/
 BuildRequires: db-devel
+BuildRequires: glibc-static
 BuildRequires: rpmbuild(macros) >= 1.379
 Requires(post,preun):  /sbin/chkconfig
 Requires:      rc-scripts
@@ -40,7 +44,7 @@
 <http://www.ietf.org/>.
 
 %prep
-%setup -q -n %{name}-%{version}-%{_rc}
+%setup -q -n %{name}-%{version}-%{subver}
 
 %build
 for i in usr utils utils/fwparam_ibft; do
@@ -51,7 +55,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d 
$RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,/etc/{iscsi/ifaces,iscsi/nodes,iscsi/send_targets,rc.d/init.d,sysconfig}}
+install -d 
$RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}/{iscsi/ifaces,iscsi/nodes,iscsi/send_targets},/etc/{rc.d/init.d,sysconfig}}
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/iscsi
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/iscsi
@@ -113,6 +117,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2008-05-24 10:55:49  glen
+- needs glibc-static for iscsi-start
+- unify
+
 Revision 1.11  2008-05-24 01:04:43  glen
 - verbose binaries names
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/open-iscsi.spec?r1=1.11&r2=1.12&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to