From 67bdb043b7fc8b86df5b58850535bdc3d220865f Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Wed, 26 Sep 2018 08:59:41 +0000 Subject: [PATCH] Add man page for fc-cache-* links to fc-cache. --- fontconfig.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fontconfig.spec b/fontconfig.spec index 9ad661f..3aa329f 100644 --- a/fontconfig.spec +++ b/fontconfig.spec @@ -93,6 +93,9 @@ rmdir $RPM_BUILD_ROOT%{_docdir}/fontconfig/ # rename fc-cache binary mv $RPM_BUILD_ROOT%{_bindir}/fc-cache $RPM_BUILD_ROOT%{_bindir}/fc-cache-%{__isa_bits} +# create link to man page +echo ".so man1/fc-cache.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fc-cache-%{__isa_bits}.1 + install -p -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/fc-cache %find_lang %{name} @@ -164,6 +167,9 @@ HOME=/root /usr/bin/fc-cache -s %doc fontconfig-devel.txt fontconfig-devel %changelog +* Wed Sep 26 2018 Akira TAGOH - 2.13.1-2 +- Add man page for fc-cache-* links to fc-cache. + * Thu Aug 30 2018 Akira TAGOH - 2.13.1-1 - New upstream release.