Re: how to use Source1 to add an additional file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 11 December 2007 19:39:26 Qianqian Fang wrote:
> File Not found: ..../wqy-bitmap-fonts/devel/61-wqy-bitmapsong.conf
> Installed (but unpackaged) file(s) found
> /etc/fonts/conf.d/61-wqy-bitmapsong.conf

I tried to compile your package, and I got the following error:
RPM build errors:
    File not 
found: /var/tmp/wqy-bitmap-fonts-0.9.9-2.fc9-root-lrineau/etc/fonts/conf.d/home/lrineau/Fedora/wqy-bitmap-fonts/devel/61-wqy-bitmapsong.conf


Its your %files section that is incorrect!

Change this:
  %config(noreplace) %{fontconfdir}/%{SOURCE1}
to that:
  %config(noreplace) %{fontconfdir}/61-wqy-bitmapsong.conf
or even:
  %config(noreplace) %{fontconfdir}/*.conf

The explanation of the error is that ${SOURCE1} is expanded to a full path, 
and not just a file name. That is why the error log shows a very long path.

-- 
Laurent Rineau
http://fedoraproject.org/wiki/LaurentRineau

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux