[ncmpcpp] from Ankur Sinha: fix FTBFS due to docdir change (#992332)

Adam Williamson adamwill at fedoraproject.org
Thu Nov 28 22:04:13 UTC 2013


commit b7ad4f8176e81d6e4081d02791aca5c79e936f1f
Author: Adam Williamson <awilliam at redhat.com>
Date:   Thu Nov 28 14:03:23 2013 -0800

    from Ankur Sinha: fix FTBFS due to docdir change (#992332)

 ncmpcpp.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ncmpcpp.spec b/ncmpcpp.spec
index 51857e4..ffee7d3 100644
--- a/ncmpcpp.spec
+++ b/ncmpcpp.spec
@@ -1,6 +1,6 @@
 Name:           ncmpcpp
 Version:        0.5.10
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Clone of ncmpc with new features and written in C++
 Group:          Applications/Multimedia
 License:        GPLv2+
@@ -32,7 +32,7 @@ make %{?_smp_mflags}
 
 %install
 
-make DESTDIR="%{buildroot}" INSTALL="install -p" docdir="%{_docdir}/%{name}-%{version}" install
+make DESTDIR="%{buildroot}" INSTALL="install -p" docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} install
 
 
 %files
@@ -43,6 +43,9 @@ make DESTDIR="%{buildroot}" INSTALL="install -p" docdir="%{_docdir}/%{name}-%{ve
 
 
 %changelog
+* Thu Nov 28 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.5.10-6
+- Fix FTBFS because of doc dir
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.10-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list