
Axel.Thimm at ATrpms
Jun 13, 2009, 2:14 AM
Post #5 of 5
(867 views)
Permalink
|
Hi, On Thu, Jun 11, 2009 at 06:02:09PM -0300, Paulo Cavalcanti wrote: > On Thu, Jun 11, 2009 at 5:37 PM, David Rees <drees76 [at] gmail> wrote: > > > On Thu, Jun 11, 2009 at 10:03 AM, Paulo Cavalcanti<promac [at] gmail> > > wrote: > > > On Thu, Jun 11, 2009 at 1:17 PM, David Rees <drees76 [at] gmail> wrote: > > >> > > >> On F11, the VeraSe.ttf font is now in > > >> /usr/share/fonts/bitstream-vera/VeraSe.ttf, not > > >> /usr/share/bitstream-vera/VeraSe.ttf > > >> > > >> This is contained by the bitstream-vera-serif-fonts package. > > >> > > >> Not sure what the best way to fix the spec file is - may have to add > > >> in conditional dependencies depending on the distro the package is > > >> built on? > > > > > > I think the best way is using: > > > > > > %{_fontdir} > > > > Sounds good - so if that works, what do we need to do to get that > > integrated into the spec file? > > > > So changing the Requires to: > > > > Requires: ${_fontdir}/bitstream-vera/VeraSe.ttf > > > > from > > > > Requires: %{_datadir}/bitstream-vera/VeraSe.ttf > > > > should work on all platforms? > > > > -Dave > > > > Should be: > > %{_fontdir}/bitstream-vera/VeraSe.ttf > > In my system (F10), %{_fontdir} resolves to: > > %{/usr/share/fonts/%{name}} do you know where _fontdir is being defined? On my F10 system I don;t see it: $ rpm -E '%{_datadir}' /usr/share $ rpm -E '%{_fontdir}' %{_fontdir} -- Axel.Thimm at ATrpms.net
|