[wmnd] Switch to %_pkgdocdir
raorn
raorn at fedoraproject.org
Mon Aug 5 10:49:41 UTC 2013
commit 0b81fcd2accdb35211a5a08926162279a6e9a585
Author: Alexey I. Froloff <raorn at raorn.name>
Date: Mon Aug 5 14:48:54 2013 +0400
Switch to %_pkgdocdir
wmnd.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/wmnd.spec b/wmnd.spec
index a76ae36..98eeaa9 100644
--- a/wmnd.spec
+++ b/wmnd.spec
@@ -1,6 +1,6 @@
Name: wmnd
Version: 0.4.17
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Dockapp for monitoring network interfaces
Group: User Interface/X
@@ -11,6 +11,8 @@ Source: %{url}/releases/%{name}-%{version}.tar.gz
BuildRequires: autoconf automake git libXext-devel libXpm-devel
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
%description
WMND is a dockapp for monitoring network interfaces under WindowMaker
and other compatible window managers. WMND currently works on Linux,
@@ -25,7 +27,7 @@ display modes and can also monitor remote interfaces through SNMP.
%build
autoreconf -fis
%configure \
- --docdir=%{_docdir}/%{name}-%{version} \
+ --docdir=%{_pkgdocdir} \
--enable-drivers=linux_proc
make %{?_smp_mflags}
@@ -38,6 +40,9 @@ make %{?_smp_mflags}
%{_mandir}/man1/wmnd.1*
%changelog
+* Mon Aug 05 2013 Alexey I. Froloff <raorn at raorn.name> - 0.4.17-5
+- Use %%_pkgdocdir for documentation path
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list