Use _docdir macro
This commit is contained in:
parent
6acde1f72d
commit
bfa6201e5c
@ -85,7 +85,7 @@ Requires: libsigc++20-doc
|
|||||||
%description doc
|
%description doc
|
||||||
Documentation for cairomm%{apiver} can be viewed either through the devhelp
|
Documentation for cairomm%{apiver} can be viewed either through the devhelp
|
||||||
documentation browser or through a web browser at
|
documentation browser or through a web browser at
|
||||||
%{_datadir}/doc/cairomm%{apiver}-%{apiver}/.
|
%{_docdir}/cairomm%{apiver}-%{apiver}/.
|
||||||
|
|
||||||
The API/ABI version series is %{apiver}.
|
The API/ABI version series is %{apiver}.
|
||||||
|
|
||||||
@ -128,9 +128,9 @@ rm untracked/docs/reference/cairomm-%{apiver}.tag \
|
|||||||
%install
|
%install
|
||||||
%meson_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
|
AUTHORS ChangeLog MAINTAINERS NEWS README
|
||||||
cp -rp examples %{buildroot}%{_datadir}/doc/cairomm-%{apiver}/
|
cp -rp examples %{buildroot}%{_docdir}/cairomm-%{apiver}/
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -153,7 +153,7 @@ cp -rp examples %{buildroot}%{_datadir}/doc/cairomm-%{apiver}/
|
|||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc %{_datadir}/doc/cairomm-%{apiver}/
|
%doc %{_docdir}/cairomm-%{apiver}/
|
||||||
%doc %{_datadir}/devhelp/
|
%doc %{_datadir}/devhelp/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user