From bfa6201e5c03eabcecc77e91875ec1fb26e3cba2 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 26 Sep 2021 12:26:56 -0400 Subject: [PATCH] Use _docdir macro --- cairomm1.16.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cairomm1.16.spec b/cairomm1.16.spec index c44a420..7184053 100644 --- a/cairomm1.16.spec +++ b/cairomm1.16.spec @@ -85,7 +85,7 @@ Requires: libsigc++20-doc %description doc Documentation for cairomm%{apiver} can be viewed either through the devhelp documentation browser or through a web browser at -%{_datadir}/doc/cairomm%{apiver}-%{apiver}/. +%{_docdir}/cairomm%{apiver}-%{apiver}/. The API/ABI version series is %{apiver}. @@ -128,9 +128,9 @@ rm untracked/docs/reference/cairomm-%{apiver}.tag \ %install %meson_install -install -t %{buildroot}%{_datadir}/doc/cairomm-%{apiver} -m 0644 -p \ +install -t %{buildroot}%{_docdir}/cairomm-%{apiver} -m 0644 -p \ AUTHORS ChangeLog MAINTAINERS NEWS README -cp -rp examples %{buildroot}%{_datadir}/doc/cairomm-%{apiver}/ +cp -rp examples %{buildroot}%{_docdir}/cairomm-%{apiver}/ %check @@ -153,7 +153,7 @@ cp -rp examples %{buildroot}%{_datadir}/doc/cairomm-%{apiver}/ %files doc %license COPYING -%doc %{_datadir}/doc/cairomm-%{apiver}/ +%doc %{_docdir}/cairomm-%{apiver}/ %doc %{_datadir}/devhelp/