Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=549915
--- Comment #6 from Jussi Lehtola <jussi.lehtola(a)iki.fi> 2009-12-23 07:31:01 EDT
---
(In reply to comment #4)
(In reply to comment #3)
> Absolutely. It should be placed in %{_datadir}/%{name}/. Please ask upstream to
> fix this.
Leave it to me.
Can you tell me something about this implicit requirements that my package is
asking for?
By the way, here is a little update in the páckage but I just realized that if
we move %{_datadir}/%{name}-%{version}/help to
%{_docdir}/%{name}-%{version}/help the help section of the software will break.
Is there a more elegant solution to this problem?
If it breaks, then the files are needed by the main package and thus cannot be
placed in -doc, instead they are placed in the main package.
Now you have
%dir %{_datadir}/%{name}-%{version}
%{_datadir}/%{name}-%{version}/toolbox
%{_datadir}/%{name}-%{version}/help
so change this simply to
%{_datadir}/%{name}-%{version}
or
%{_datadir}/%{name}-%{version}/
both of which are equivalent, but the latter is IMHO clearer to the reader of
the spec file.
It's a bit off that the datadir is versioned. Only a few packages do this. Is
there a configure option or whatnot to change the datadir to
%{_datadir}/%{name} instead of using %{_datadir}/%{name}-%{version}?
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.