[gfal2-python] - fix pkgdir miss for rawhide

Devresse adev at fedoraproject.org
Fri Feb 28 14:27:01 UTC 2014


commit ca2858e0cf3a458f89c4ce2e3ca2f2084e87405b
Author: Adrien Devresse <adrien.devresse at cern.ch>
Date:   Fri Feb 28 14:44:10 2014 +0100

    - fix pkgdir miss for rawhide

 gfal2-python.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gfal2-python.spec b/gfal2-python.spec
index c75311f..f71fdab 100644
--- a/gfal2-python.spec
+++ b/gfal2-python.spec
@@ -65,7 +65,8 @@ make clean
 %setup -q
 
 %build
-%cmake -DDOC_INSTALL_DIR=%{_docdir}/%{name}-%{version} \
+%cmake \
+-DDOC_INSTALL_DIR=%{_pkgdocdir} \
  %{boost_cmake_flags} \
  -DUNIT_TESTS=TRUE . 
 
@@ -89,8 +90,8 @@ make DESTDIR=%{buildroot} install
 
 %files doc
 %defattr (-,root,root)
-%dir %{_docdir}/%{name}-%{version}/html
-%{_docdir}/%{name}-%{version}/html/*
+%dir %{_pkgdocdir}/html
+%{_pkgdocdir}/html/*
 
 %changelog
 * Fri Feb 28 2014 Adrien Devresse <adevress at cern.ch> - 1.4.0-1


More information about the scm-commits mailing list