Rebuild for OCaml 4.01.0.
- Enable debuginfo. - Prevent parallel builds.
This commit is contained in:
parent
2f6f396b47
commit
d03a90d7e0
11
camomile-0.8.3-enable-debug.patch
Normal file
11
camomile-0.8.3-enable-debug.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- camomile-0.8.3/Makefile.in.old 2013-09-14 07:39:54.498539889 +0100
|
||||||
|
+++ camomile-0.8.3/Makefile.in 2013-09-14 07:40:02.920552224 +0100
|
||||||
|
@@ -65,7 +65,7 @@
|
||||||
|
SUBDIR = -I internal -I public -I toolslib -I .
|
||||||
|
INCLUDES = $(SUBDIR)
|
||||||
|
BFLAGS = $(BOPTIONS) $(INCLUDES)
|
||||||
|
-OFLAGS = $(OOPTIONS) $(INCLUDES)
|
||||||
|
+OFLAGS = $(OOPTIONS) $(INCLUDES) -g
|
||||||
|
|
||||||
|
# Generic targets
|
||||||
|
#################
|
@ -1,9 +1,8 @@
|
|||||||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ocaml-camomile
|
Name: ocaml-camomile
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
Summary: Unicode library for OCaml
|
Summary: Unicode library for OCaml
|
||||||
|
|
||||||
# Several files are MIT and UCD licensed, but the overall work is LGPLv2+
|
# Several files are MIT and UCD licensed, but the overall work is LGPLv2+
|
||||||
@ -12,6 +11,10 @@ Summary: Unicode library for OCaml
|
|||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://sourceforge.net/projects/camomile/
|
URL: http://sourceforge.net/projects/camomile/
|
||||||
Source0: http://downloads.sourceforge.net/camomile/camomile-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/camomile/camomile-%{version}.tar.bz2
|
||||||
|
|
||||||
|
# Use ocamlopt -g option to enable debuginfo.
|
||||||
|
Patch1: camomile-0.8.3-enable-debug.patch
|
||||||
|
|
||||||
ExcludeArch: sparc64 s390 s390x
|
ExcludeArch: sparc64 s390 s390x
|
||||||
|
|
||||||
BuildRequires: ocaml >= 3.12.1-12
|
BuildRequires: ocaml >= 3.12.1-12
|
||||||
@ -50,13 +53,16 @@ applications that use %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n camomile-%{version}
|
%setup -q -n camomile-%{version}
|
||||||
|
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Parallel builds don't work.
|
||||||
|
unset MAKEFLAGS
|
||||||
./configure --prefix=%{_prefix} --datadir=%{_datadir} --libdir=%{_libdir}
|
./configure --prefix=%{_prefix} --datadir=%{_datadir} --libdir=%{_libdir}
|
||||||
make
|
make
|
||||||
make dochtml
|
make dochtml
|
||||||
make man
|
make man
|
||||||
strip tools/*.opt
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -105,6 +111,11 @@ cp tools/camomilelocaledef.opt $RPM_BUILD_ROOT%{_bindir}/camomilelocaledef
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 0.8.3-13
|
||||||
|
- Rebuild for OCaml 4.01.0.
|
||||||
|
- Enable debuginfo.
|
||||||
|
- Prevent parallel builds.
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-12
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-12
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user