SPECS: cisco-vpnclient.spec - fixed excluding %if conditions (kern...

jezik jezik at pld-linux.org
Tue Feb 19 01:51:21 CET 2008


Author: jezik                        Date: Tue Feb 19 00:51:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed excluding %if conditions (kernel module)

---- Files affected:
SPECS:
   cisco-vpnclient.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/cisco-vpnclient.spec
diff -u SPECS/cisco-vpnclient.spec:1.21 SPECS/cisco-vpnclient.spec:1.22
--- SPECS/cisco-vpnclient.spec:1.21	Fri Feb 15 22:28:06 2008
+++ SPECS/cisco-vpnclient.spec	Tue Feb 19 01:51:16 2008
@@ -73,7 +73,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#cd vpnclient
+cd vpnclient
 %if %{with kernel}
 %install_kernel_modules -m cisco_ipsec -d misc
 %endif
@@ -135,12 +135,10 @@
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 %endif
 
-%if %{with kernel}
-%if %{without dist_kernel}
+%if %{with kernel} || %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-net-cisco_ipsec
 %defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}/misc/*.ko*
-%endif
+/lib/modules/%{_kernel_ver}/misc/*ko*
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -149,6 +147,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2008-02-19 00:51:16  jezik
+- fixed excluding %if conditions (kernel module)
+
 Revision 1.21  2008-02-15 21:28:06  wolvverine
  kernel module build macros ,up to 4.8.00.0490_k9, patch for 2.6.22, NFY
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cisco-vpnclient.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list