Le 16/04/2011 16:43, Richard Shaw a écrit :
On Sat, Apr 16, 2011 at 2:53 AM, Olivier
Cédric<cedric.olivier(a)free.fr> wrote:
> I am the original submitter and I am ok to close 1617 and review your new
> review request. I will do review next week.
> For co maintain, it's as you want.
I'll leave it up to you if you want to be a co-maintainer.
The only problem I have with the package right now is getting the
documentation in the right place. I only recently figured out that
%doc will only automatically put files from the buildroot into
/usr/share/doc/%{name}-%{version}.
The installed files from the package put the html documentation in
/usr/share/doc/%{name}. I've tried:
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Move documentation so it will go in the right directory
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
mv %{buildroot}%{_docdir}/%{name}/html \
%{buildroot}%{_docdir}/%{name}-%{version}/html
... but it didn't work.
And now I know why. When %doc is called it cleans the doc directory
prior to moving the files into it...
What's the right way to handle this? It just seems redundant to have a
/usr/share/doc/imagination and /usr/share/doc/imagination-3.0
Thanks,
Richard
I Think I was solvded this problem in my imagination-2.1.1 spec file with
:
%doc AUTHORS COPYING INSTALL README TODO
%doc %{_datadir}/doc/%{name}
Regards,
Cédric