[stdair/el6] Built the HTML pages again.

Denis Arnaud denisarnaud at fedoraproject.org
Sat Dec 22 20:03:42 UTC 2012


commit 69aa0b9f0150f02f9cf0ff1c01138c42d8d678b3
Author: Denis Arnaud <denis.arnaud_fedora at m4x.org>
Date:   Sat Dec 22 21:03:33 2012 +0100

    Built the HTML pages again.

 stdair.spec |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/stdair.spec b/stdair.spec
index 3af1944..7eaa3a0 100644
--- a/stdair.spec
+++ b/stdair.spec
@@ -1,8 +1,5 @@
 #
 %global mydocs __tmp_docdir
-%if 0%{?rhel}
-%global _doc_comp_flag_ -DINSTALL_DOC:BOOL=OFF
-%endif
 #
 Name:           stdair
 Version:        1.00.0
@@ -66,7 +63,7 @@ online (http://%{name}.org).
 %build
 mkdir -p build
 pushd build
-%cmake %{_doc_comp_flag_} ..
+%cmake ..
 make %{?_smp_mflags}
 popd
 
@@ -80,12 +77,8 @@ popd
 find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
 
 mkdir -p %{mydocs}
-%if 0%{?rhel}
-mkdir %{mydocs}/html
-%else
 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
 rm -f %{mydocs}/html/installdox
-%endif
 
 %check
 pushd build


More information about the scm-commits mailing list