From 89d48e4ed6202f6ab7b1b285ed2bb00e93c520ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sun, 27 Sep 2020 16:47:08 +0200 Subject: [PATCH] Package all files generated by doxygen --- jsoncpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jsoncpp.spec b/jsoncpp.spec index 700a445..0ed610b 100644 --- a/jsoncpp.spec +++ b/jsoncpp.spec @@ -94,7 +94,9 @@ install -pm 0644 README.md %{buildroot}%{_docdir}/%{name} %if %{with jsoncpp_enables_doc} mkdir -p %{buildroot}%{_docdir}/%{name}/html -install -pm 0644 dist/doxygen/*/*.{html,png} %{buildroot}%{_docdir}/%{name}/html +cp -a dist/doxygen/jsoncpp-api-html-/* %{buildroot}%{_docdir}/%{name}/html +find %{buildroot}%{_docdir} -type d -print0 | xargs -0 chmod -c 0755 +find %{buildroot}%{_docdir} -type f -print0 | xargs -0 chmod -c 0644 hardlink -cfv %{buildroot}%{_docdir}/%{name} %endif @@ -134,6 +136,7 @@ hardlink -cfv %{buildroot}%{_docdir}/%{name} %changelog * Sun Sep 27 16:25:23 CEST 2020 Björn Esser - 1.9.4-1 - Update to version 1.9.4 (rhbz#1882874) +- Package all files generated by doxygen * Wed Jul 29 2020 Björn Esser - 1.9.3-3 - Use new cmake macros