Migrate top-level text file documentation to the -doc subpackage

This commit is contained in:
Benjamin A. Beasley 2021-02-11 07:38:06 -05:00
parent 5263eff3e8
commit b25d34467d

View File

@ -65,16 +65,17 @@ documentation browser or through a web browser at
%make_install %make_install
find %{buildroot} -type f -name '*.la' -print -delete find %{buildroot} -type f -name '*.la' -print -delete
install -t %{buildroot}%{_datadir}/doc/%{name}-%{apiver} -m 0644 -p \
AUTHORS ChangeLog MAINTAINERS NEWS README
%files %files
%license COPYING %license COPYING
%doc AUTHORS README NEWS
%{_libdir}/lib%{name}-%{apiver}.so.%{so_version} %{_libdir}/lib%{name}-%{apiver}.so.%{so_version}
%{_libdir}/lib%{name}-%{apiver}.so.%{so_version}.* %{_libdir}/lib%{name}-%{apiver}.so.%{so_version}.*
%files devel %files devel
%doc ChangeLog
%{_includedir}/%{name}-%{apiver} %{_includedir}/%{name}-%{apiver}
%{_libdir}/lib%{name}-%{apiver}.so %{_libdir}/lib%{name}-%{apiver}.so
%{_libdir}/pkgconfig/%{name}-%{apiver}.pc %{_libdir}/pkgconfig/%{name}-%{apiver}.pc