packages: ipheth/ipheth.spec - make udev rules static, not config - note, e...

glen glen at pld-linux.org
Sun Aug 14 15:42:34 CEST 2011


Author: glen                         Date: Sun Aug 14 13:42:34 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- make udev rules static, not config
- note, ethernet success with 3GS (iOS 4.3) on 2.6.38.8 kernel

---- Files affected:
packages/ipheth:
   ipheth.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/ipheth/ipheth.spec
diff -u packages/ipheth/ipheth.spec:1.7 packages/ipheth/ipheth.spec:1.8
--- packages/ipheth/ipheth.spec:1.7	Sat Aug 13 10:58:59 2011
+++ packages/ipheth/ipheth.spec	Sun Aug 14 15:42:29 2011
@@ -17,7 +17,7 @@
 %define		_enable_debug_packages	0
 %endif
 
-%define		rel	2
+%define		rel	3
 %define		pname	ipheth
 Summary:	iPhone USB Ethernet Driver
 Name:		%{pname}%{_alt_kernel}
@@ -68,15 +68,15 @@
 rm -rf $RPM_BUILD_ROOT
 %if %{with kernel}
 %install_kernel_modules -m ipheth-driver/ipheth -d misc -s update -n %{pname}
-cat <<'EOF' >> /etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
+cat <<'EOF' >> $RPM_BUILD_ROOT/etc/modprobe.d/%{_kernel_ver}/%{pname}.conf
 blacklist %{pname}
 EOF
 %endif
 
 %if %{with userspace}
-install -d $RPM_BUILD_ROOT{/lib/udev,/etc/udev/rules.d}
+install -d $RPM_BUILD_ROOT{/lib/udev/rules.d}
 install -p ipheth-pair/ipheth-pair $RPM_BUILD_ROOT/lib/udev
-cp -p ipheth-pair/90-iphone-tether.rules $RPM_BUILD_ROOT/etc/udev/rules.d
+cp -p ipheth-pair/90-iphone-tether.rules $RPM_BUILD_ROOT/lib/udev/rules.d
 %endif
 
 %clean
@@ -90,7 +90,7 @@
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/90-iphone-tether.rules
+/lib/udev/rules.d/90-iphone-tether.rules
 %attr(755,root,root) /lib/udev/ipheth-pair
 
 %if %{with kernel}
@@ -106,6 +106,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2011/08/14 13:42:29  glen
+- make udev rules static, not config
+- note, ethernet success with 3GS (iOS 4.3) on 2.6.38.8 kernel
+
 Revision 1.7  2011/08/13 08:58:59  glen
 - if building kernel module, re-alias to use our module update
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ipheth/ipheth.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list