packages: udev/udev.spec - added udev-compat package

baggins baggins at pld-linux.org
Wed Jan 20 12:03:03 CET 2010


Author: baggins                      Date: Wed Jan 20 11:03:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added udev-compat package

---- Files affected:
packages/udev:
   udev.spec (1.316 -> 1.317) 

---- Diffs:

================================================================
Index: packages/udev/udev.spec
diff -u packages/udev/udev.spec:1.316 packages/udev/udev.spec:1.317
--- packages/udev/udev.spec:1.316	Wed Jan 20 00:00:12 2010
+++ packages/udev/udev.spec	Wed Jan 20 12:02:57 2010
@@ -42,6 +42,7 @@
 Source1:	%{name}-alsa.rules
 Source2:	%{name}.rules
 Source3:	%{name}-links.conf
+Source4:	%{name}-compat.rules
 # scripts / helpers
 Source10:	%{name}-net.helper
 Source11:	start_udev
@@ -123,6 +124,14 @@
 %description acl
 ConsoleKit hook to control permissions of system devices.
 
+%package compat
+Summary:	Compatibility rules for kernels < 2.6.31
+Group:		Base
+Requires:	%{name}-libs = %{epoch}:%{version}-%{release}
+
+%description compat
+Compatibility rules for kernels < 2.6.31.
+
 %package core
 Summary:	A userspace implementation of devfs - core part of udev
 Summary(pl.UTF-8):	Implementacja devfs w przestrzeni użytkownika - główna część udev
@@ -335,6 +344,7 @@
 # install custom rules from pld package
 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules
 cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules
+cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/30-kernel-compat.rules
 
 # install configs
 cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf
@@ -397,6 +407,10 @@
 %attr(755,root,root) /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck
 /lib/udev/rules.d/70-acl.rules
 
+%files compat
+%defattr(644,root,root,755)
+/lib/udev/rules.d/30-kernel-compat.rules
+
 %files core
 %defattr(644,root,root,755)
 %doc ChangeLog TODO docs/writing_udev_rules
@@ -557,6 +571,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.317  2010/01/20 11:02:57  baggins
+- added udev-compat package
+
 Revision 1.316  2010/01/19 23:00:12  baggins
 - rel 2
 - build initrd package with uClibc (build and works)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/udev/udev.spec?r1=1.316&r2=1.317&f=u



More information about the pld-cvs-commit mailing list