[PATCH] patch udev 009-010 rpm spec file

the following problem was introduced with udev 009:

[root@claw packages]# rpm -Uvh ~mh/rpm/RPMS/ppc/udev-010-1.ppc.rpm
Preparing...########################################### [100%]
   1:udev   ########################################### [100%]
error: unpacking of archive failed on file /usr/share/doc/udev-010/COPYING;3fe8a8e3: cpio: open failed - Permission denied

it's because the mode of the directory /usr/share/doc/udev-010/ is
0644. This is with yellodog-3.0.

the following patch fixes it:
This commit is contained in:
mh@nadir.org 2003-12-24 22:54:39 -08:00 committed by Greg KH
parent 480763324d
commit ee15698133
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ fi
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644,root,root)
%defattr(-,root,root)
%doc COPYING README TODO ChangeLog
%attr(755,root,root) /sbin/udev
%attr(755,root,root) /udev/