[freeradius] Install docs to %{_pkgdocdir} where available.

Ville Skyttä scop at fedoraproject.org
Fri Jul 26 19:59:11 UTC 2013


commit 180a0f9b558f0ecda46344cc89b8163d12acb7dd
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Jul 26 22:57:23 2013 +0300

    Install docs to %{_pkgdocdir} where available.

 freeradius.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/freeradius.spec b/freeradius.spec
index 746b135..545e541 100644
--- a/freeradius.spec
+++ b/freeradius.spec
@@ -1,7 +1,7 @@
 Summary: High-performance and highly configurable free RADIUS server
 Name: freeradius
 Version: 3.0.0
-Release: 0.rc0%{?dist}
+Release: 0.1.rc0%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: System Environment/Daemons
 URL: http://www.freeradius.org/
@@ -24,7 +24,7 @@ Source104: %{name}-tmpfiles.conf
 
 Patch1: freeradius-redhat-config.patch
 
-%global docdir %{_docdir}/freeradius-%{version}
+%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
 
 BuildRequires: autoconf
 BuildRequires: gdbm-devel
@@ -728,6 +728,9 @@ exit 0
 %{_libdir}/freeradius/rlm_sql_unixodbc.so
 
 %changelog
+* Fri Jul 26 2013 Ville Skyttä <ville.skytta at iki.fi> - 3.0.0-0.1.rc0
+- Install docs to %%{_pkgdocdir} where available.
+
 * Mon Jul 22 2013 John Dennis <jdennis at redhat.com> - 3.0.0-0.rc0
 - Upgrade to new upstream major version release
 


More information about the scm-commits mailing list