Description of problem: Trying to build & install libxslt from sources I've got such error: Executing(%doc): /bin/sh - e /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/rpm-tmp.20310 + umask 022 + cd /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/BUILD + cd libxslt-1.0.19 + DOCDIR=/netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-1.0.19- root/usr/share/doc/libxslt-1.0.19 + export DOCDIR + rm -rf /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-1.0.19- root/usr/share/doc/libxslt-1.0.19 + /bin/mkdir -p /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt- 1.0.19-root/usr/share/doc/libxslt-1.0.19 + cp -pr AUTHORS ChangeLog NEWS README Copyright TODO FEATURES /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt-1.0.19-r oot/usr/share/doc/libxslt-1.0.19 + cp -pr doc/APIchunk0.html doc/APIchunk1.html doc/APIchunk2.html doc/APIchunk3.html doc/APIchunk4.html doc/APIchunk5.html doc/API chunk6.html doc/APIconstructors.html doc/APIfiles.html doc/APIfunctions.html doc/API.html doc/APIsymbols.html doc/bugs.html doc/co ntribs.html doc/docbook.html doc/docs.html doc/downloads.html doc/extensions.html doc/FAQ.html doc/help.html doc/index.html doc/in ternals.html doc/intro.html doc/news.html doc/python.html doc/xslt.html doc/xsltproc2.html doc/xsltproc.html doc/html doc/tutorial doc/contexts.gif doc/node.gif doc/object.gif doc/processing.gif doc/redhat.gif doc/smallfootonly.gif doc/stylesheet.gif doc/templ ates.gif 'doc/*.png' /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/libxslt- 1.0.19-root/usr/share/doc/libxslt-1.0.19 cp: cannot stat `doc/*.png': No such file or directory error: Bad exit status from /netbatch/TC32304/rh80_ia32_I/default/WORK_DIR/tmp/rpm-tmp.20310 (%doc) In package is no doc/*.png files so error is emitted by rpm. You should remove this entry from %doc section from .spec file. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. rpm -bb libxslt.spec Actual results: Installation error Expected results: Succesfully built & installed package Additional info:
Created attachment 88884 [details] Patch for .spec which removes doc/*.png from %doc list
Already fixed in RawHide and on the public releases of libxslt 1.0.23 you can find at ftp://xmlsoft.org/ with my signature on it. Daniel Veillard