dante.spec:
...
%files
%defattr(-,root,root)
%doc [A-Z][A-Z]*
...

rpm -bi --short-circuit dante.spec:
...
+ /usr/lib/rpm/brp-mandrake
Cleaning files...done
Compressing files...done
Stripping files...done
Relativisation of symlinks...done
Clean perl...done
Building libraries symlinks...done
Gprintifying init scripts...done
Processing files: dante-1.1.12-5.1mdk
Executing(%doc): /bin/sh -e /wrk/bor/rpm/tmp/rpm-tmp.89571
+ umask 022
+ cd /wrk/bor/rpm/BUILD
+ cd dante-1.1.12
+ DOCDIR=/wrk/bor/rpm/tmp/dante-buildroot/usr/share/doc/dante-1.1.12
+ export DOCDIR
+ rm -rf /wrk/bor/rpm/tmp/dante-buildroot/usr/share/doc/dante-1.1.12
+ /bin/mkdir -p /wrk/bor/rpm/tmp/dante-buildroot/usr/share/doc/dante-1.1.12
+ cp -pr bin BUGS config.guess config.log config.status config.sub configure
configure.ac contrib CREDITS depcomp dlib doc example include INSTALL
install-sh lib libscompat libtool LICENSE ltmain.sh missing mkinstalldirs
NEWS PRERELEASE README sockd sockd.init sockd.sysconf SPECS SUPPORT TODO
unlicensed VERSION VERSION.in
/wrk/bor/rpm/tmp/dante-buildroot/usr/share/doc/dante-1.1.12

WTF! It copies entire build tree into doc creating 10M RPM!!!

-andrej

Reply via email to