https://bugzilla.redhat.com/show_bug.cgi?id=1083941
--- Comment #19 from Han Frederic han@math.jussieu.fr --- Thanks for your answer on mime, I will try to avoid the *manually*.
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)
Do you prefer that I try to build the giac-doc list of files and dir from some file built automatically in the spec, so that there are no shared files and dir between giac and giac-doc?