https://qa.mandrakesoft.com/show_bug.cgi?id=1496

           Product: aterm
         Component: packaging
           Summary: packaging fails with %doc files
           Version: 0.4.2-2mdk
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The packaging of the aterm rpm fails when it collects the %doc files. 
Apparently somthing has changed in the handling of %doc files. 
 
It fails like this: 
Executing(%doc): /bin/sh -e /home/cooker/tmp/rpm-tmp.42757 
+ umask 022 
+ cd /home/cooker/RPM/BUILD 
+ cd aterm-0.4.2 
+ DOCDIR=/home/cooker/tmp/aterm-0.4.2-2mdk-root/usr/share/doc/aterm-0.4.2 
+ export DOCDIR 
+ rm -rf /home/cooker/tmp/aterm-0.4.2-2mdk-root/usr/share/doc/aterm-0.4.2 
+ /bin/mkdir -p /home/cooker/tmp/aterm-0.4.2-2mdk-root/usr/share/doc/aterm-0.4.2 
+ cp -pr INSTALL ChangeLog README.Unix98PTY aterm-0.4.0.lsm 
README.configure 
/home/cooker/tmp/aterm-0.4.2-2mdk-root/usr/share/doc/aterm-0.4.2 
cp: cannot stat `README.Unix98PTY': No such file or directory 
cp: cannot stat `aterm-0.4.0.lsm': No such file or directory 
error: Bad exit status from /home/cooker/tmp/rpm-tmp.42757 (%doc) 
 
I don't really care about the doc/README.Unix98PTY file, I'd rather have the FAQ 
included. The specfile can be changed like this, and all is well: 
 
--- aterm.spec.orig     2002-01-10 10:56:04.000000000 +0100 
+++ aterm.spec  2003-02-10 14:07:47.000000000 +0100 
@@ -55,7 +55,7 @@ 
 
 %files 
 %defattr(-,root,root,0755) 
-%doc INSTALL ChangeLog README.Unix98PTY aterm-0.4.0.lsm README.configure 
+%doc INSTALL ChangeLog doc/FAQ aterm.lsm README.configure 
 %{_bindir}/aterm 
 %{_mandir}/man1/* 
 %{_menudir}/aterm



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to