https://bugzilla.redhat.com/show_bug.cgi?id=1083941



--- Comment #20 from Antonio Trande <[email protected]> ---
(In reply to Han Frederic from comment #19)
> > Also, under '%files' section
> > 
> > %dir %{_datadir}/giac
> > %dir %{_datadir}/giac/doc
> > %dir %{_datadir}/giac/doc/de
> > %dir %{_datadir}/giac/doc/el
> > %dir %{_datadir}/giac/doc/en
> > %dir %{_datadir}/giac/doc/es
> > %dir %{_datadir}/giac/doc/fr
> > %dir %{_datadir}/giac/doc/pt
> > %dir %{_datadir}/giac/doc/zh
> > #    The following files are Required at runtime by icas AND xcas. 
> > #       (Ex: if LANG is fr, alea(5) should give an INT)
> > #       Moreover, without aide_cas the keywords files are not found in icas 
> > #       and xcas. Additionally xcas uses it for tab completions.
> > %{_datadir}/giac/doc/*/keywords
> > %{_datadir}/giac/aide_cas
> > %{_datadir}/giac/doc/aide_cas
> > 
> > may not be listed because already included under '%files doc' with
> > 
> > %{_datadir}/giac/     <-------
> > 
> > 'giac-doc' will be installed always together with 'giac'; those files will
> > be available in runtime however.
> I understand why installing giac-doc implies installing giac,
> but why isn't it possible for giac (and giac-xcas) packages to be installed
> without giac-doc? In that situation  if I remove the entries: 
> %{_datadir}/giac/doc/*/keywords
> %{_datadir}/giac/aide_cas
> %{_datadir}/giac/doc/aide_cas
> from giac %files
> they won't be installed and icas won't run properly.(worse than just some
> doc not found)

Ops! You're right. It's a my inattention.
It's possible of course.

Better if 'giac' owns %{_datadir}/giac/doc, %{_datadir}/giac/doc/* and all
files it needs in runtime.
Any files else in %{_datadir}/giac/doc will be owned by 'giac-doc'.

In a few words, pay attention to don't list same files and/or directories more
times under all %files section.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to