devel shouldn't own all doc files

Since the -devel package requires the main package it doesn't need to
own the doc directory or include the license file.
This commit is contained in:
Bruno Wolff III 2015-08-16 15:47:58 -05:00
parent 1f2a5033b3
commit 35503329e3
1 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Name: ocaml-camlimages
Version: 4.1.0
Release: 17%{?dist}
Release: 18%{?dist}
Summary: OCaml image processing library
Group: Development/Libraries
@ -85,9 +85,7 @@ cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
%files devel
%{_docdir}/%{name}/
%{_docdir}/%{name}/htmlref/
%{_docdir}/%{name}/htmlref/*
%{_libdir}/ocaml/camlimages/*.a
%if %{opt}
%{_libdir}/ocaml/camlimages/*.cmxa
@ -98,6 +96,9 @@ cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
%changelog
* Sun Aug 16 2015 Bruno Wolff III <bruno@wolff.to> - 4.1.0-18
- devel shouldn't cover all doc files
* Tue Aug 11 2015 Bruno Wolff III <bruno@wolff.to> - 4.1.0-17
- Don't use %doc to copy over htmlref for -devel package