SPECS: qt4.spec - adapter

Andrzej Krzysztofowicz ankry at green.mif.pg.gda.pl
Thu Jun 21 19:14:13 CEST 2007


=?utf-8?q?Rafa=C5=82_Cygnarowski?= wrote:
> 
> --===============0990176345==
> Content-Type: multipart/signed; boundary="nextPart5329749.Eslldous2x";
> 	protocol="application/pgp-signature"; micalg=pgp-sha1
> Content-Transfer-Encoding: 7bit
> >  %files -n QtCore-devel -f QtCore-devel.files
> > +%defattr(644,root,root,755)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This change is wrong. Qt*-devel.files already contains this and it's=20
> respected. If this is done by adapter, then adapter needs to be fixed.
> Remove these lines, please.

It was told some times ago that the rule is to have the %defattr line just
after %files. Even if file used via -f (generally language file) already
contains it - just for case the "-f" option is temporary disabled for any
reason.

This may be a little overloading but should not hurt.
-- 
=======================================================================
  Andrzej M. Krzysztofowicz                  ankry at mif.pg.gda.pl
  phone (48)(58) 347 19 36
Faculty of Applied Phys. & Math.,   Gdansk University of Technology


More information about the pld-devel-en mailing list