]> git.pld-linux.org Git - packages/ocaml.git/blobdiff - ocaml.spec
- release 19 (by relup.sh)
[packages/ocaml.git] / ocaml.spec
index 301f5c4aaaef47a62fadebfb1ee582d2eec3ce12..4ba541a88c0e881e0503c2ef53dbd183b6ae36fc 100644 (file)
 Summary:       The Objective Caml compiler and programming environment
 Summary(pl.UTF-8):     Kompilator OCamla (Objective Caml) oraz środowisko programistyczne
 Name:          ocaml
-Version:       3.12.0
-Release:       1
+Version:       3.12.1
+Release:       19
 Epoch:         1
 License:       distributable
 Group:         Development/Languages
 Source0:       http://caml.inria.fr/distrib/%{name}-%{sver}/%{name}-%{version}.tar.bz2
-# Source0-md5: bd92c8970767f412bc1e9a6c625b5ccf
+# Source0-md5: 227a3daaedb150bf5037a3db01f5bf42
 Source1:       http://caml.inria.fr/distrib/%{name}-%{sver}/%{name}-%{sver}-refman.html.tar.gz
 # Source1-md5: 93cd91f525441eb7e94cc49b9b64bab0
 Source2:       http://caml.inria.fr/distrib/%{name}-%{sver}/%{name}-%{sver}-refman.ps.gz
@@ -48,9 +48,8 @@ BuildRequires:        db-devel >= 4.1
 %{?with_x:BuildRequires:       xorg-lib-libX11-devel}
 %if %{with emacs}
 BuildRequires: sed >= 4.0
-BuildRequires: xemacs
-BuildRequires: xemacs-common
-BuildRequires: xemacs-fsf-compat-pkg
+BuildRequires: emacs
+BuildRequires: emacs-common
 %endif
 Requires:      %{name}-runtime = %{epoch}:%{version}-%{release}
 Provides:      ocaml-ocamldoc
@@ -356,10 +355,10 @@ cat > $RPM_BUILD_ROOT%{_libdir}/%{name}/ld.conf <<EOF
 EOF
 
 %if %{with emacs}
-%{__make} -C emacs DESTDIR=$RPM_BUILD_ROOT install \
-       EMACS="`if [ -x %{_bindir}/emacs ]; then echo emacs; \
-               else echo xemacs; fi`" \
-       EMACSDIR="$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp"
+%{__make} -C emacs install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       EMACSDIR="$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp" \
+       EMACS="emacs"
 %endif
 
 # symlink .opt versions of compilers (if present)
This page took 0.034018 seconds and 4 git commands to generate.