[uucp] Honor %{_pkgdocdir} where available.

Ville Skyttä scop at fedoraproject.org
Sat Jul 27 16:37:34 UTC 2013


commit 325c4268ae1d9a622853642592e059e44736f14a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jul 27 19:37:17 2013 +0300

    Honor %{_pkgdocdir} where available.

 uucp.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/uucp.spec b/uucp.spec
index 97106e1..36a2949 100644
--- a/uucp.spec
+++ b/uucp.spec
@@ -20,7 +20,7 @@
 Summary: A set of utilities for operations between systems
 Name: uucp
 Version: 1.07
-Release: 38%{?dist}
+Release: 39%{?dist}
 License: GPLv2+
 Group: Applications/Communications
 Url: http://www.airs.com/ian/uucp.html
@@ -124,7 +124,7 @@ cat > ${RPM_BUILD_ROOT}%{_newconfigdir}/$i <<EOF
 # with Taylor UUCP (not HDB, not anything else). Please check uucp
 # documentation if you are not sure how to configure Taylor UUCP config files.
 # Edit the file as appropriate for your system, there are sample files
-# in %{_datadir}/doc/uucp-%{version}/samples.
+# in %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}/sample
 
 # Everything after a '#' character is a comment.
 EOF
@@ -258,6 +258,9 @@ fi
 %attr(755,uucp,uucp) /var/spool/uucp
 
 %changelog
+* Sat Jul 27 2013 Ville Skyttä <ville.skytta at iki.fi> - 1.07-39
+- Honor %%{_pkgdocdir} where available.
+
 * Wed Jul 03 2013 Ondrej Vasik <ovasik at redhat.com> - 1.07-38
 - fix the typo in the uucp user creation (#980669)
 - use soft static uid allocation


More information about the scm-commits mailing list