SPECS: udev.spec - separate udev_import_usermap to -tools

glen glen at pld-linux.org
Mon Jan 15 15:47:04 CET 2007


Author: glen                         Date: Mon Jan 15 14:47:04 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate udev_import_usermap to -tools

---- Files affected:
SPECS:
   udev.spec (1.197 -> 1.198) 

---- Diffs:

================================================================
Index: SPECS/udev.spec
diff -u SPECS/udev.spec:1.197 SPECS/udev.spec:1.198
--- SPECS/udev.spec:1.197	Mon Jan 15 15:41:13 2007
+++ SPECS/udev.spec	Mon Jan 15 15:46:59 2007
@@ -2,7 +2,6 @@
 # TODO
 # - initrd needs love (is probably completly unusable in current form)
 # - initrd build with uclibc on amd64 produces non-working binary (illegal instruction from open("/dev/null"))
-# - rewrite in sh/sed, or move to (tools?) subpackage udev_import_usermap (bc adds perl dep)
 #
 # Conditional build:
 %bcond_without	initrd	# build without udev-initrd
@@ -135,6 +134,14 @@
 %description -n libvolume_id-static -l pl
 Statyczna biblioteka libvolume_id.
 
+%package tools
+Summary:	udev tools
+Group:		Base
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description tools
+udev tools - programs not needed for bootup.
+
 %prep
 %setup -q
 sed 's/$(CC) -shared/$(LD) -shared/' \
@@ -302,7 +309,6 @@
 
 %attr(755,root,root) %{_bindir}/udevinfo
 %attr(755,root,root) %{_bindir}/udevtest
-%attr(755,root,root) %{_prefix}/sbin/udev_import_usermap
 %attr(755,root,root) %{_prefix}/sbin/udevmonitor
 
 %dir %{_sysconfdir}/udev
@@ -338,6 +344,10 @@
 %attr(755,root,root) %{_sbindir}/udevstart.initrd
 %endif
 
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_prefix}/sbin/udev_import_usermap
+
 %files -n libvolume_id
 %defattr(644,root,root,755)
 %attr(755,root,root) /%{_lib}/libvolume_id.so.*.*.*
@@ -358,6 +368,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.198  2007/01/15 14:46:59  glen
+- separate udev_import_usermap to -tools
+
 Revision 1.197  2007/01/15 14:41:13  glen
 - verbose files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/udev.spec?r1=1.197&r2=1.198&f=u



More information about the pld-cvs-commit mailing list