rpms/isdn4k-utils/devel 40-isdn.rules, NONE, 1.1 isdn4k-utils.spec, 1.89, 1.90

Than Ngo than at fedoraproject.org
Tue May 4 12:35:11 UTC 2010


Author: than

Update of /cvs/extras/rpms/isdn4k-utils/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15650

Modified Files:
	isdn4k-utils.spec 
Added Files:
	40-isdn.rules 
Log Message:
- add 40-isdn.rules, it's dropped from udev in F14 and later



--- NEW FILE 40-isdn.rules ---
# do not edit this file, it will be overwritten on update

SUBSYSTEM=="capi", KERNEL=="capi", NAME="capi20", GROUP="dialout"
SUBSYSTEM=="tty", KERNEL=="capi[0-9]*", NAME="capi/%n"


Index: isdn4k-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/isdn4k-utils/devel/isdn4k-utils.spec,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -p -r1.89 -r1.90
--- isdn4k-utils.spec	4 May 2010 12:28:01 -0000	1.89
+++ isdn4k-utils.spec	4 May 2010 12:35:11 -0000	1.90
@@ -25,6 +25,8 @@ Source7: capi20.conf
 Source8: capi.init
 Source9: capiinit.8
 
+Source10: 40-isdn.rules
+
 Patch0: isdn4k-utils-CVS-2009-10-20-redhat.patch
 Patch1: isdn4k-utils-CVS-2009-10-20-lib64.patch
 Patch2: ibod-config.patch
@@ -270,6 +272,11 @@ mkdir -p $RPM_BUILD_ROOT/etc
 install -m 644 capiinit/capi.conf $RPM_BUILD_ROOT/etc
 install -m 644 %{SOURCE7} $RPM_BUILD_ROOT/etc
 
+# install 40-isdn.rules, it's dropped from udev in F14 and later
+%if 0%{?fedora} > 13 || %if 0%{rhel} > 6
+  mkdir -p %{buildroot}/lib/udev/rules.d/
+  install -m 644 %{SOURCE10} %{buildroot}/lib/udev/rules.d/
+%endif
 
 %post
 /sbin/ldconfig
@@ -498,6 +505,7 @@ rm -rf %{buildroot}
 %changelog
 * Tue May 04 2010 Than Ngo <than at redhat.com> - 3.2-70
 - enable capi.new
+- add 40-isdn.rules, it's dropped from udev in F14 and later
 
 * Mon May 03 2010 Than Ngo <than at redhat.com> - 3.2-69
 - fix quotation issue with autoconf-2.64



More information about the scm-commits mailing list