[unittest] Address docdir changes (FTBFS RHBZ #992842).
corsepiu
corsepiu at fedoraproject.org
Mon Aug 12 12:41:24 UTC 2013
commit a11081bc9e2850cc02b14def778eee398e030c3c
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Mon Aug 12 14:41:09 2013 +0200
Address docdir changes (FTBFS RHBZ #992842).
unittest.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/unittest.spec b/unittest.spec
index 1d60daa..c603cd3 100644
--- a/unittest.spec
+++ b/unittest.spec
@@ -3,7 +3,7 @@
Name: unittest
Version: 0.50
-Release: %{revision}.6%{?dist}.5
+Release: %{revision}.6%{?dist}.6
Summary: C++ Unit Test Framework
Group: Development/Libraries
@@ -13,6 +13,7 @@ Source0: http://unittest.red-bean.com/tar/%{name}-%{version}-%{revision}.
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: %{name}-static = %{version}-%{release}
+%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%description
Unittest is a C++ unit test framework. Its design goals are to be simple, to
@@ -37,7 +38,7 @@ make %{?_smp_mflags} libdir=%{buildroot}%{_libdir}
rm -rf %{buildroot}
make install prefix=%{buildroot} \
- HTMLDIR=%{buildroot}%{_docdir}/%{name}-%{version} \
+ HTMLDIR=%{buildroot}%{_pkgdocdir}/%{name}-%{version} \
INCDIR=%{buildroot}%{_includedir}/%{name} \
%clean
@@ -54,6 +55,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Aug 12 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.50-62.6.6
+- Address docdir changes (FTBFS RHBZ #992842).
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.50-62.6.5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list