Skip to content

Commit

Permalink
[packaging] Remove empty glib2-docs package. Contributes to JB#38578
Browse files Browse the repository at this point in the history
Remove empty docs subpackage. Use %license for COPYING. Remove
duplicated lines.

Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
  • Loading branch information
Tomin1 committed Jan 14, 2019
1 parent 203baae commit 43d7430
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rpm/glib2.spec
Expand Up @@ -113,8 +113,6 @@ rm -rf %{buildroot}%{_datadir}/bash-completion
%find_lang glib20
mv glib20.lang glib2.lang

%docs_package

%lang_package

%post -p /sbin/ldconfig
Expand All @@ -123,7 +121,7 @@ mv glib20.lang glib2.lang

%files
%defattr(-,root,root,-)
%doc COPYING
%license COPYING
%{_libdir}/libglib-2.0.so.*
%{_libdir}/libgthread-2.0.so.*
%{_libdir}/libgmodule-2.0.so.*
Expand All @@ -144,12 +142,10 @@ mv glib20.lang glib2.lang

%files static
%defattr(-,root,root,-)
%defattr(-, root, root, -)
%{_libdir}/lib*.a

%files devel
%defattr(-,root,root,-)
%defattr(-, root, root, -)
%{_libdir}/lib*.so
%{_libdir}/glib-2.0
%{_includedir}/*
Expand Down

0 comments on commit 43d7430

Please sign in to comment.