[apvlv] Use %{_pkgdocdir}

Till Maas till at fedoraproject.org
Sun Aug 18 15:04:15 UTC 2013


commit bf52970864904dcb2a1d6db452ebc0e787045e06
Author: Till Maas <opensource at till.name>
Date:   Sun Aug 18 17:04:01 2013 +0200

    Use %{_pkgdocdir}

 apvlv.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/apvlv.spec b/apvlv.spec
index 1f6968b..8720d1f 100644
--- a/apvlv.spec
+++ b/apvlv.spec
@@ -1,6 +1,6 @@
 Name:           apvlv
 Version:        0.1.4
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        PDF viewer which behaves like Vim
 
 Group:          Applications/Publishing
@@ -30,7 +30,7 @@ It can also browse through directories of such documents.
 # -DAPVLV_WITH_UMD:BOOL=ON 
 # Does not compile with the following option:
 # -DAPVLV_WITH_HTML:BOOL=ON 
-%cmake . -DDOCDIR=%{_docdir}/%{name}-%{version} -DAPVLV_WITH_DJVU:BOOL=ON -DAPVLV_WITH_TXT:BOOL=ON
+%cmake . -DDOCDIR=%{_pkgdocdir} -DAPVLV_WITH_DJVU:BOOL=ON -DAPVLV_WITH_TXT:BOOL=ON
 make %{?_smp_mflags}
 
 %install
@@ -44,13 +44,16 @@ desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
 %doc README
 %doc TODO NEWS
 %doc AUTHORS THANKS
-%doc %{_docdir}/%{name}-%{version}/*
+%doc %{_pkgdocdir}/*
 %{_bindir}/apvlv
 %{_datadir}/applications/%{name}.desktop
 %{_mandir}/man1/apvlv.1*
 %config(noreplace)%{_sysconfdir}/apvlvrc
 
 %changelog
+* Tue Aug 06 2013 Till Maas <opensource at till.name> - 0.1.4-5
+- Use %%{_pkgdocdir}
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.4-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list