ihrachyshka pushed to dibbler (epel7). "Added conditional macro for _pkgdocdir"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Apr 7 09:43:33 UTC 2015


>From 7935b994197083f02a37d82a5e3fbfabba29732c Mon Sep 17 00:00:00 2001
From: Ihar Hrachyshka <ihrachys at redhat.com>
Date: Tue, 7 Apr 2015 11:37:53 +0200
Subject: Added conditional macro for _pkgdocdir


diff --git a/dibbler.spec b/dibbler.spec
index 70427ac..450916b 100644
--- a/dibbler.spec
+++ b/dibbler.spec
@@ -5,6 +5,8 @@ Dibbler is a portable DHCPv6 implementation. It supports stateful (i.e. IPv6 \
 address granting and IPv6 prefix delegation) as well as stateless (i.e. option \
 granting) autoconfiguration for IPv6.
 
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}}
+
 Name:		dibbler
 Version:	1.0.1
 Release:	0.%{milestone}.1%{?dist}
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/dibbler.git/commit/?h=epel7&id=7935b994197083f02a37d82a5e3fbfabba29732c


More information about the scm-commits mailing list