From ee15698133ecd754c0d847b6ebb3a533536a42dc Mon Sep 17 00:00:00 2001 From: "mh@nadir.org" Date: Wed, 24 Dec 2003 22:54:39 -0800 Subject: [PATCH 1/1] [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: --- udev.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev.spec b/udev.spec index cdfc23e19..6530c557c 100644 --- a/udev.spec +++ b/udev.spec @@ -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/ -- 2.30.2