[ocaml-react] Rebuild for OCaml 4.01.0. Enable debuginfo. Add missing ExclusiveArch. Minor spec file cleanups.

Jerry James jjames at fedoraproject.org
Wed Sep 18 15:20:05 UTC 2013


commit 4784f67cada6a738292ad35d6c6c604b27d987c0
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Wed Sep 18 09:19:36 2013 -0600

    Rebuild for OCaml 4.01.0.
    Enable debuginfo.
    Add missing ExclusiveArch.
    Minor spec file cleanups.

 ocaml-react.spec |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-react.spec b/ocaml-react.spec
index 28c7b29..a146a9c 100644
--- a/ocaml-react.spec
+++ b/ocaml-react.spec
@@ -1,9 +1,8 @@
 %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%global debug_package %{nil}
 
 Name:           ocaml-react
 Version:        0.9.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        OCaml framework for Functional Reactive Programming (FRP)
 
 License:        BSD
@@ -12,10 +11,11 @@ URL:            http://erratique.ch/software/react
 Source0:        http://erratique.ch/software/react/releases/react-%{version}.tbz
 Source1:        react-LICENSE
 
+ExclusiveArch:  %{ocaml_arches}
+
 BuildRequires:  ocaml >= 3.10.0
 BuildRequires:  ocaml-findlib-devel
 BuildRequires:  ocaml-ocamldoc
-BuildRequires:  chrpath
 
 
 %description
@@ -33,7 +33,7 @@ and provides time stamp events, delayed events and delayed signals.
 
 %package        devel
 Summary:        Development files for %{name}
-Requires:       %{name} = %{version}-%{release}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 
 %description    devel
@@ -43,7 +43,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q -n react-%{version}
-cp %{SOURCE1} LICENSE
+cp -p %{SOURCE1} LICENSE
 ocaml setup.ml -configure --prefix %{_prefix} --destdir $RPM_BUILD_ROOT
 
 
@@ -89,6 +89,12 @@ ocaml setup.ml -install
 
 
 %changelog
+* Wed Sep 18 2013 Jerry James <loganjerry at gmail.com>
+- Rebuild for OCaml 4.01.0
+- Enable debuginfo
+- Add missing ExclusiveArch
+- Minor spec file cleanups
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list