Doc files were getting installed to a different place

%doc in devel were getting put in a different place than the install
was putting them. The ones from the install were than getting flagged
as not packaged. This way of fixing them doesn't get them marked as
doc packages which isn't really correct.
This commit is contained in:
Bruno Wolff III 2015-08-11 18:27:44 -05:00
parent 44255d83ea
commit 8d0bc0577d
1 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,9 @@ cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
%files devel
%doc htmlref htmlref/*
%(_docdir}
%(_docdir}/htmlref/
%(_docdir}/htmlref/*
%{_libdir}/ocaml/camlimages/*.a
%if %{opt}
%{_libdir}/ocaml/camlimages/*.cmxa