[ocaml-mlgmpidl] Rebuild for OCaml 3.12.1. Minor spec file cleanups.

Jerry James jjames at fedoraproject.org
Tue Jan 10 04:39:12 UTC 2012


commit fd79f4c99881333ab955340bebd8fd520e7bebde
Author: Jerry James <loganjerry at gmail.com>
Date:   Mon Jan 9 21:38:59 2012 -0700

    Rebuild for OCaml 3.12.1.
    Minor spec file cleanups.

 ocaml-mlgmpidl.spec |   20 ++++++--------------
 1 files changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/ocaml-mlgmpidl.spec b/ocaml-mlgmpidl.spec
index 5c5365e..6c03675 100644
--- a/ocaml-mlgmpidl.spec
+++ b/ocaml-mlgmpidl.spec
@@ -1,7 +1,4 @@
 %define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%define _use_internal_dependency_generator 0
-%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
-%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
 
 # From previous experience it seemed that all of the following
 # were necessary to prevent stripping of bytecode executables
@@ -15,10 +12,9 @@ Release:        7%{?dist}
 Summary:        OCaml interface to GMP and MPFR libraries
 Group:          Development/Libraries
 License:        LGPLv2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExcludeArch:    sparc64 s390 s390x
+ExclusiveArch:  %{ocaml_arches}
 
-URL:            http://www.inrialpes.fr/pop-art/people/bjeannet/mlxxxidl-forge/mlgmpidl/index.html
+URL:            http://www.inrialpes.fr/pop-art/people/bjeannet/mlxxxidl-forge/mlgmpidl/
 Source0:        http://gforge.inria.fr/frs/download.php/20228/mlgmpidl-%{version}.tgz
 Source1:        mlgmpidl_test.ml
 Source2:        mlgmpidl_test_result
@@ -90,8 +86,6 @@ ocamlc -ccopt -L. -custom -dllib %{_libdir}/libgmp.so gmp.cma bigarray.cma mlgmp
 diff mlgmpidl_test_myresult mlgmpidl_test_result
 
 %install
-rm -rf %{buildroot}
-
 make INSTALL_INCLUDEDIR=%{buildroot}/%{_includedir} \
      INSTALL_OCAML_LIBDIR=%{buildroot}/%{my_ocaml_lib_dir} \
      INSTALL_BINDIR=%{buildroot}/%{_bindir} install
@@ -119,11 +113,7 @@ done
 mkdir -p %{buildroot}%{prelinkconfdir}
 mv %{prelinkfilename} %{buildroot}%{prelinkconfdir}
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %{my_ocaml_lib_dir}
 %if %opt
 %exclude %{my_ocaml_lib_dir}/*.cmx*
@@ -136,7 +126,6 @@ rm -rf %{buildroot}
 %config %{prelinkconfdir}/%{prelinkfilename}
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/*
 %if %opt
 %{my_ocaml_lib_dir}/*.cmx*
@@ -146,10 +135,13 @@ rm -rf %{buildroot}
 %{my_ocaml_lib_dir}/*.a
 
 %files doc
-%defattr(-,root,root,-)
 %{_docdir}/%{name}
 
 %changelog
+* Mon Jan  9 2012 Jerry James <loganjerry at gmail.com> - 1.1-7
+- Rebuild for OCaml 3.12.1
+- Minor spec file cleanups
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list