diff --git a/cairomm.spec b/cairomm.spec index ba87137..6a329f3 100644 --- a/cairomm.spec +++ b/cairomm.spec @@ -170,8 +170,8 @@ cp -rp examples %{buildroot}%{_docdir}/cairomm-%{apiver}/ rm -vrf '%{buildroot}%{_docdir}/cairomm-%{apiver}/reference/html' %if %{with doc_pdf} -install -t '%{buildroot}%{_docdir}/cairomm-%{apiver}/reference' -p -m 0644 \ - '%{_vpath_builddir}/docs/reference/latex/refman.pdf' +install '%{_vpath_builddir}/docs/reference/latex/refman.pdf' -p -m 0644 \ + '%{buildroot}%{_docdir}/cairomm-%{apiver}/reference/cairomm-%{apiver}.pdf' %endif