[nickle] Install docs into % _pkgdocdir (Fix FTBFS RHBZ#992357).
corsepiu
corsepiu at fedoraproject.org
Wed Dec 4 14:30:11 UTC 2013
commit 7fa1b2b6c4eb747386229e631277d3f60067b653
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Wed Dec 4 15:29:40 2013 +0100
Install docs into % _pkgdocdir (Fix FTBFS RHBZ#992357).
nickle.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/nickle.spec b/nickle.spec
index ca1b8ad..2780269 100644
--- a/nickle.spec
+++ b/nickle.spec
@@ -1,6 +1,6 @@
Name: nickle
Version: 2.77
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A programming language-based prototyping environment
Group: Development/Languages
@@ -8,6 +8,8 @@ License: MIT
URL: http://nickle.org
Source0: http://nickle.org/release/nickle-%{version}.tar.gz
Patch0: %{name}-2.77-tutorial_sgml_fix.patch
+
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%if 0%{?rhel} <= 5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%endif
@@ -58,7 +60,7 @@ function interface) libraries (e.g. the Cairo interface for Nickle).
%build
# we will install documentation ourselves,
# but this saves having to delete the ones installed by 'make install'
-%configure --docdir=%{_defaultdocdir}/%{name}-%{version}
+%configure --docdir=%{_pkgdocdir}
make %{?_smp_flags}
@@ -98,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/nickle
%changelog
+* Wed Dec 04 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 2.77-5
+- Install docs into %% _pkgdocdir (Fix FTBFS RHBZ#992357).
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.77-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list