From aa462f1b0fb1f12bf3ab76c163f554d09b3e6a5f Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 14 Sep 2013 11:33:45 +0100 Subject: [PATCH] Rebuild for OCaml 4.01.0. - Enable debuginfo. - Modernize spec file. --- ocaml-bin-prot.spec | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/ocaml-bin-prot.spec b/ocaml-bin-prot.spec index 9813da3..0fa8f26 100644 --- a/ocaml-bin-prot.spec +++ b/ocaml-bin-prot.spec @@ -1,18 +1,15 @@ %global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) -%global debug_package %{nil} %define dlnode 822 Name: ocaml-bin-prot Version: 2.0.9 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Read and write OCaml values in a type-safe binary protocol - -Group: Development/Libraries License: LGPLv2+ with exceptions + URL: http://forge.ocamlcore.org/projects/bin-prot Source0: http://forge.ocamlcore.org/frs/download.php/%{dlnode}/bin_prot-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ocaml >= 3.12.0 BuildRequires: ocaml-findlib-devel @@ -39,7 +36,6 @@ substantial increase in memory footprint when they are read back in. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name} = %{version}-%{release} @@ -72,22 +68,15 @@ ocaml setup.ml -test %install -rm -rf $RPM_BUILD_ROOT export DESTDIR=$RPM_BUILD_ROOT export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs ocaml setup.ml -install -strip $OCAMLFIND_DESTDIR/stublibs/dll*.so chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc COPYRIGHT LICENSE LICENSE.Tywith %{_libdir}/ocaml/bin_prot %if %opt @@ -100,7 +89,6 @@ rm -rf $RPM_BUILD_ROOT %files devel -%defattr(-,root,root,-) %doc Changelog README.txt %if %opt %{_libdir}/ocaml/bin_prot/*.a @@ -110,6 +98,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Sep 14 2013 Richard W.M. Jones - 2.0.9-6 +- Rebuild for OCaml 4.01.0. +- Enable debuginfo. +- Modernize spec file. + * Sat Aug 03 2013 Fedora Release Engineering - 2.0.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild