From 47b176bcad8a4647202afbcd7571afc325df49d9 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 27 Jan 2018 11:40:29 +0100 Subject: [PATCH] install docs manually Signed-off-by: Igor Gnatenko --- librsvg2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/librsvg2.spec b/librsvg2.spec index 1ccd751..3419563 100644 --- a/librsvg2.spec +++ b/librsvg2.spec @@ -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