-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vincent Guardiola wrote: > > BuildRoot: %{_tmppath}/%{name}-buildroot > -Requires: freetype > -Requires: XFree86 > +Requires: freetype, XFree86
Is an explicit dependency on freetype (and, for that matter, XFree86, surely xlibs are enough) really necessary? > License: GPL > > +#Cleaning la files for bad /home > +cd $RPM_BUILD_ROOT%{_libdir}/loaders/image/ > +for i in $(ls *la); do > +echo Patching $i > +perl -pi -e 's|\-L\/home\/vguardiola\/rpm\/BUILD\/imlib2\-1\.0\.6\/src||g' $i > +done What's going to happen with this script when someone else builds the pacakge? Can you not do something with $RPM_BUILD_DIR (or whatever it is)? Buchan - -- |--------------Another happy Mandrake Club member--------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9741krJK6UGDSBKcRAvIsAKCo5E9uuVpNLex0uXu5PokcXZNCrwCfR5dE RaXbftOZAwhZvnMEtqBRH2w= =oJOz -----END PGP SIGNATURE-----