From c62606c901f95bd61b315ddc06e9c105adfc5e7b Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 10 May 2006 10:48:28 +0000 Subject: [PATCH] cleanup specfile --- qt.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qt.spec b/qt.spec index 897fe50..b02a98b 100644 --- a/qt.spec +++ b/qt.spec @@ -12,6 +12,7 @@ %define qt_dirname qt-3.3 %define qtdir %{_libdir}/%{qt_dirname} +%define qt_docdir %{_docdir}/qt-devel-%{ver} # build Motif extention %define motif_extention 0 @@ -408,7 +409,7 @@ fi # build shared, threaded (default) libraries echo yes | ./configure \ -prefix $QTDEST \ - -docdir %{_docdir}/qt-devel-%{version}/ \ + -docdir %{qt_docdir} \ %if %{_lib} == lib64 -platform linux-g++-64 \ %else @@ -689,7 +690,7 @@ rm -rf %{buildroot} %files devel-docs %defattr(-,root,root,-) -%doc doc/html +%doc %{qt_docdir}/html %doc examples %doc tutorial %if %{installman}