]> git.pld-linux.org Git - packages/ocaml.git/blobdiff - ocaml.spec
- whitespace cleanup
[packages/ocaml.git] / ocaml.spec
index 933eaedf90792ca7a90fd763a8b1adbd77ea5502..72a05855205c093eade4166176a05379cebdc4d1 100644 (file)
@@ -1,12 +1,12 @@
 #
 # Conditional build:
 %bcond_without emacs           # emacs subpackage
-%bcond_without x               # X11 support 
+%bcond_without x               # X11 support
 %bcond_without ocaml_opt       # native, optimized compiler
 
 # ppc64, sparc64 and x32 variants not supported currently
 # alpha, hppa, ia64, mips removed since 4.00
-%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9 
+%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9
 %undefine      with_ocaml_opt
 %endif
 
@@ -16,7 +16,7 @@ Summary:      The Objective Caml compiler and programming environment
 Summary(pl.UTF-8):     Kompilator OCamla (Objective Caml) oraz środowisko programistyczne
 Name:          ocaml
 Version:       4.02.2
-Release:       1
+Release:       2
 Epoch:         1
 License:       QPL v1.0 with linking exception (compiler), LGPL v2 with linking exception (library)
 Group:         Development/Languages
@@ -235,11 +235,11 @@ cp %{SOURCE2} docs/ocaml.ps.gz
 %patch2 -p1
 %patch3 -p1
 
-%build 
+%build
 cp -f /usr/share/automake/config.sub config/gnu
 ./configure \
        -host %{_target_platform} \
-        -cc "%{__cc}" \
+       -cc "%{__cc}" \
        -bindir %{_bindir} \
        -libdir %{_libdir}/%{name} \
        -mandir %{_mandir}/man1 \
@@ -370,7 +370,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/%{name}/stublibs
 %attr(755,root,root) %{_libdir}/%{name}/stublibs/dll*.so
 %exclude %{_libdir}/%{name}/stublibs/dllgraphics.so
-%attr(755,root,root) %{_libdir}/%{name}/libasmrun_shared.so
+%{?with_ocaml_opt:%attr(755,root,root) %{_libdir}/%{name}/libasmrun_shared.so}
 %attr(755,root,root) %{_libdir}/%{name}/libcamlrun_shared.so
 %{_mandir}/man1/ocamlrun.1*
 
This page took 0.03274 seconds and 4 git commands to generate.