Halton Huo wrote:
> On Fri, 2008-07-11 at 17:14 +0800, jerry tan wrote:
>> plain text document attachment (cdrdao.spec)
>>
>> %files
>> %defattr(-, root, root)
>> %doc Bonus ChangeLog NEWS README TODO doc doc-jp
>> %{_bindir}/*
>> %{_mandir}/man1/*
>> /usr/share/cdrdao/*
The %files section in cdrdao.spec is not used.
>> plain text document attachment (SUNWcdrdao.spec)
>
>> %{_bindir}/*
>> %{_mandir}/man1/*
>> /usr/share/cdrdao/*
> ???Should use %{_datadir} here. Like:
> %dir %attr (0755, root, sys) %{_datadir}
> %{_datadir}/cdrdao
This is an old version of SUNWcdrdao.spec. I fixed the %files section on
Friday 11.
%files
%defattr (-, root, bin)
%doc Bonus ChangeLog NEWS README TODO doc doc-jp
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr(0755, root, sys) %{_datadir}
%{_datadir}/cdrdao
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/man1
%{_mandir}/man1/*
Damien