install docs manually

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-27 11:40:29 +01:00
parent 0145be7bbb
commit 47b176bcad
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -89,12 +89,15 @@ chrpath --delete %{buildroot}%{_bindir}/rsvg-convert
chrpath --delete %{buildroot}%{_bindir}/rsvg-view-3
chrpath --delete %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
# we install own docs
rm -vrf %{buildroot}%{_datadir}/doc
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_pkgdocdir}
%doc CONTRIBUTING.md README.md code_of_conduct.md
%license COPYING COPYING.LIB
%{_libdir}/librsvg-2.so.*
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so