[clc] Install docs into %_pkgdocdir (FTBFS RHBZ#992063).
corsepiu
corsepiu at fedoraproject.org
Thu Dec 5 13:29:38 UTC 2013
commit 1adec9bec2c70067fca929df8adac0e2c5bdadbb
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Thu Dec 5 14:29:29 2013 +0100
Install docs into %_pkgdocdir (FTBFS RHBZ#992063).
clc.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/clc.spec b/clc.spec
index 47f3872..45697e2 100644
--- a/clc.spec
+++ b/clc.spec
@@ -1,6 +1,6 @@
Name: clc
Version: 0.03
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Command-line client for MUDs
Group: Applications/Internet
@@ -13,6 +13,8 @@ BuildRequires: libtelnet-devel >= 0.20
BuildRequires: ncurses-devel
BuildRequires: zlib-devel
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
+
%description
Very simplistic MUD client for command line usage.
@@ -24,8 +26,8 @@ make %{?_smp_mflags} CFLAGS="%{optflags} -DHAVE_ZLIB -DCLC_VERSION='\"%{version}
%install
rm -rf "%{buildroot}"
-install -m 644 -D README "%{buildroot}/%{_docdir}/%{name}-%{version}/README"
-install -m 755 -D clc "%{buildroot}/%{_bindir}/clc"
+install -m 644 -D README "%{buildroot}%{_pkgdocdir}/README"
+install -m 755 -D clc "%{buildroot}%{_bindir}/clc"
%clean
rm -rf "%{buildroot}"
@@ -36,6 +38,9 @@ rm -rf "%{buildroot}"
%{_bindir}/clc
%changelog
+* Thu Dec 05 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.03-8
+- Install docs into %%_pkgdocdir (FTBFS RHBZ#992063).
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.03-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list