On Fri, 20 Jan 2017 15:04:56 +0700, Dmitrij S. Kryzhevich wrote:
Anyway lib_64_ must be handled in another way.
The two new Perl based subst expressions added to %install also are
specific to lib64 build targets and won't be correct where %_libdir expands
to /usr/lib.
Group: System Environment/Libraries
Group: Development/Libraries
The Group tag has been optional for a long time. As such I would really
remove it everywhere.
%files
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/[A-Z]*
%files doc
%{_docdir}/%{name}/html
The -doc subpackage needs to include the directory entry, too.
Plus, rather than the non-flexible [A-Z]* you could take this opportunity
and use %exclude:
%files
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/*
%exclude %{_docdir}/%{name}/html
%files doc
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/html/
Or the slightly shorter tree inclusion:
%files
%{_docdir}/%{name}/
%exclude %{_docdir}/%{name}/html
%files doc
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/html/