https://bugzilla.redhat.com/show_bug.cgi?id=1062542

Dominik 'Rathann' Mierzejewski <domi...@greysector.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(dominik@greysecto |
                   |r.net)                      |



--- Comment #16 from Dominik 'Rathann' Mierzejewski <domi...@greysector.net> ---
So you did, but now all the API docs are in the main package instead of -devel.
I don't think that was intended, either. You can use the _pkgdocdir macro like
Ralf suggested, but you must %exclude the files that should be in the -devel
package in %files section for the main package.

For example, like this (I'd keep AUTHORS COPYING ChangeLog NEWS README in the
main package):

%files
%doc AUTHORS COPYING ChangeLog NEWS README
%exclude %{_pkgdocdir}/*.html
%exclude %{_pkgdocdir}/*.png
%exclude %{_pkgdocdir}/*.js
%exclude %{_pkgdocdir}/*.css
%exclude %{_pkgdocdir}/README.migration
%{_libdir}/libdatrie.so.*

%files devel
%{_pkgdocdir}/*.html
%{_pkgdocdir}/*.png
%{_pkgdocdir}/*.js
%{_pkgdocdir}/*.css
%{_pkgdocdir}/README.migration
%{_includedir}/datrie/
%{_libdir}/libdatrie.so
%{_libdir}/pkgconfig/datrie-0.2.pc
%{_bindir}/trietool*
%{_mandir}/man1/trietool*.1*

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to