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

Re: how to use Source1 to add an additional file



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.



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