Rebuild for OCaml 4.01.0.
- Enable debuginfo.
This commit is contained in:
parent
f652eb1b67
commit
a0732e1b82
13
ocaml-augeas-0.5-use-ocamlopt-g.patch
Normal file
13
ocaml-augeas-0.5-use-ocamlopt-g.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- ocaml-augeas-0.5/Makefile.in.old 2012-06-11 14:02:39.000000000 +0100
|
||||||
|
+++ ocaml-augeas-0.5/Makefile.in 2013-09-14 11:29:45.133175512 +0100
|
||||||
|
@@ -33,8 +33,8 @@
|
||||||
|
|
||||||
|
OCAMLCFLAGS = -g
|
||||||
|
OCAMLCPACKAGES =
|
||||||
|
-OCAMLOPTFLAGS =
|
||||||
|
-OCAMLOPTPACKAGES =
|
||||||
|
+OCAMLOPTFLAGS = $(OCAMLCFLAGS)
|
||||||
|
+OCAMLOPTPACKAGES = $(OCAMLCPACKAGES)
|
||||||
|
|
||||||
|
OCAMLDOCFLAGS = -html -sort
|
||||||
|
|
@ -1,16 +1,16 @@
|
|||||||
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ocaml-augeas
|
Name: ocaml-augeas
|
||||||
Version: 0.5
|
Version: 0.5
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: OCaml bindings for Augeas configuration API
|
Summary: OCaml bindings for Augeas configuration API
|
||||||
|
|
||||||
Group: Development/Libraries
|
|
||||||
License: LGPLv2+ with exceptions
|
License: LGPLv2+ with exceptions
|
||||||
|
|
||||||
URL: http://people.redhat.com/~rjones/augeas/files/
|
URL: http://people.redhat.com/~rjones/augeas/files/
|
||||||
Source0: http://people.redhat.com/~rjones/augeas/files/%{name}-%{version}.tar.gz
|
Source0: http://people.redhat.com/~rjones/augeas/files/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch1: ocaml-augeas-0.5-use-ocamlopt-g.patch
|
||||||
|
|
||||||
ExcludeArch: sparc64 s390 s390x
|
ExcludeArch: sparc64 s390 s390x
|
||||||
|
|
||||||
BuildRequires: ocaml >= 3.09.0
|
BuildRequires: ocaml >= 3.09.0
|
||||||
@ -38,6 +38,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -60,7 +61,6 @@ mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
|||||||
#make install
|
#make install
|
||||||
ocamlfind install augeas META *.mli *.cmx *.cma *.cmxa *.a augeas.cmi *.so
|
ocamlfind install augeas META *.mli *.cmx *.cma *.cmxa *.a augeas.cmi *.so
|
||||||
|
|
||||||
strip $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
|
||||||
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
||||||
|
|
||||||
|
|
||||||
@ -88,6 +88,10 @@ chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 0.5-6
|
||||||
|
- Rebuild for OCaml 4.01.0.
|
||||||
|
- Enable debuginfo.
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
|
||||||
- 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