From 1f76f78956b36f2317b4c593f39096aede170ff9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 14 Sep 2013 18:19:04 +0100 Subject: [PATCH] Rebuild for OCaml 4.01.0. - Modernize the spec file. --- ocaml-facile.spec | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/ocaml-facile.spec b/ocaml-facile.spec index 1d55818..d06f766 100644 --- a/ocaml-facile.spec +++ b/ocaml-facile.spec @@ -1,18 +1,19 @@ -%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) -%define debug_package %{nil} -%define _default_patch_fuzz 2 +%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) +%global debug_package %{nil} +%global _default_patch_fuzz 2 Name: ocaml-facile Version: 1.1 -Release: 21%{?dist} +Release: 22%{?dist} Summary: OCaml library for constraint programming Summary(fr): Librairie OCaml de programmation par contraintes - -Group: Development/Libraries License: LGPLv2+ + URL: http://www.recherche.enac.fr/log/facile/ Source0: http://www.recherche.enac.fr/log/facile/distrib/facile-1.1.tar.gz +ExclusiveArch: %{ocaml_arches} + # makefile fixes by Steffen Joeris : # * only build and install native binaries if ocamlopt is available # * install .mli files @@ -21,9 +22,6 @@ Patch0: facile-1.1-makefile-fixes.patch # Fix for OCaml 4.00.0. Patch1: ocaml-facile-ocaml-4.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -ExclusiveArch: %{ocaml_arches} - BuildRequires: ocaml >= 3.02 BuildRequires: ocaml-findlib-devel @@ -84,15 +82,10 @@ developing applications that use %{name}. make %install -rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml make install -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) %doc LICENSE README %{_libdir}/ocaml/facile/ %if %opt @@ -102,7 +95,6 @@ rm -rf $RPM_BUILD_ROOT %exclude %{_libdir}/ocaml/facile/*.mli %files devel -%defattr(-,root,root,-) %if %opt %{_libdir}/ocaml/facile/*.a %{_libdir}/ocaml/facile/*.cmxa @@ -110,6 +102,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/ocaml/facile/*.mli %changelog +* Sat Sep 14 2013 Richard W.M. Jones - 1.1-22 +- Rebuild for OCaml 4.01.0. +- Modernize the spec file. + * Sat Aug 03 2013 Fedora Release Engineering - 1.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild