how to use Source1 to add an additional file

Qianqian Fang fangqq at gmail.com
Wed Dec 12 02:34:04 UTC 2007


hi Laurent and Mamoru

thank you so much, that solved the problem!

Qianqian

Laurent Rineau wrote:
> 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.
>
>   




More information about the fedora-devel-list mailing list