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

           Summary: rpmb ignores failure of %doc, and builds packages
                    missing docs
           Version: 4.0.4-9mdk
          Platform: PC
        OS/Version: All
            Status: RESOLVED
          Severity: normal
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Here is an example, running 'rpm -bi --short-circuit samba3.spec' after changing
the entry in %doc for README.samba3-mandrake-rpm to
README.samba3-mandrake-rpm-FIXME. You will notice that it rpmb continues on,
missing all the docs that followed after README.samba3-mandrake-rpm-FIXME in the
%doc section.

rpm should exit with an error, instead of silently building RPMs with missing
docs. There could be many packages with missing docs due to this, samba packages
have been put into cooker with missing docs due to this, but luckily it was
noticed, and now checks are made every time the RPM is built ...


Executing(%doc): /bin/sh -e /home/bgmilne/rpm/tmp/rpm-tmp.85443
+ umask 022
+ cd /home/bgmilne/rpm/BUILD
+ cd samba-3.0alpha20
+ DOCDIR=/home/bgmilne/rpm/tmp/samba3-root/usr/share/doc/samba3-doc-3.0
+ export DOCDIR
+ rm -rf /home/bgmilne/rpm/tmp/samba3-root/usr/share/doc/samba3-doc-3.0
+ /bin/mkdir -p /home/bgmilne/rpm/tmp/samba3-root/usr/share/doc/samba3-doc-3.0
+ cp -pr README COPYING Manifest Read-Manifest-Now
/home/bgmilne/rpm/tmp/samba3-root/usr/share/doc/samba3-doc-3.0
+ cp -pr WHATSNEW.txt Roadmap
/home/bgmilne/rpm/tmp/samba3-root/usr/share/doc/samba3-doc-3.0
+ cp -pr README.samba3-mandrake-rpm-FIXME
/home/bgmilne/rpm/tmp/samba3-root/usr/share/doc/samba3-doc-3.0
cp: cannot stat `README.samba3-mandrake-rpm-FIXME': No such file or directory
error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.85443 (%doc)
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /home/users/bgmilne/bin/find-requires-nonvidia)...

------- Additional Comments From [EMAIL PROTECTED]  2002-11-23 10:51 -------
fixed in rpm-4.0.4-21mdk



------- 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