From 085bccad31495d9eb6643668ca0c58c1e0978200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Tue, 26 May 2020 12:00:11 +0200 Subject: [PATCH] Hardlink the files in %%_pkgdocdir --- json-c.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/json-c.spec b/json-c.spec index 6166c6f..76535ac 100644 --- a/json-c.spec +++ b/json-c.spec @@ -71,6 +71,7 @@ Summary: Reference manual for json-c BuildArch: noarch BuildRequires: doxygen +BuildRequires: hardlink %description doc This package contains the reference manual for %{name}. @@ -109,6 +110,7 @@ mkdir -p %{_vpath_builddir} mkdir -p %{buildroot}%{_pkgdocdir} cp -a %{_vpath_builddir}/doc/html ChangeLog README README.* \ %{buildroot}%{_pkgdocdir} +hardlink -cfv %{buildroot}%{_pkgdocdir} %check @@ -156,6 +158,7 @@ popd - Remove pre-built html documentation - Update Doxyfile during %%prep - Add a patch to apply some optimizations to arraylist +- Hardlink the files in %%_pkgdocdir * Mon May 25 2020 Björn Esser - 0.14-5 - Run the testssuite with valgrind on %%valgrind_arches