New upstream version 0.6.
This commit is contained in:
parent
58f0d63d2e
commit
d8cdce15e8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
ocaml-augeas-0.4.tar.gz
|
ocaml-augeas-0.4.tar.gz
|
||||||
/ocaml-augeas-0.5.tar.gz
|
/ocaml-augeas-0.5.tar.gz
|
||||||
|
/ocaml-augeas-0.6.tar.gz
|
||||||
|
28
0001-Use-ocamlopt-g-option.patch
Normal file
28
0001-Use-ocamlopt-g-option.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 56c0602e972f1fae336198eb9587d71f1e36daff Mon Sep 17 00:00:00 2001
|
||||||
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
||||||
|
Date: Tue, 20 Aug 2019 15:06:57 +0100
|
||||||
|
Subject: [PATCH] Use ocamlopt -g option.
|
||||||
|
|
||||||
|
Originally from Fedora.
|
||||||
|
---
|
||||||
|
Makefile.in | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile.in b/Makefile.in
|
||||||
|
index e01385f..4ae5ef5 100644
|
||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -34,8 +34,8 @@ LIBS = @AUGEAS_LIBS@ @LIBXML2_LIBS@ @LIBS@
|
||||||
|
|
||||||
|
OCAMLCFLAGS = -g
|
||||||
|
OCAMLCPACKAGES =
|
||||||
|
-OCAMLOPTFLAGS =
|
||||||
|
-OCAMLOPTPACKAGES =
|
||||||
|
+OCAMLOPTFLAGS = $(OCAMLCFLAGS)
|
||||||
|
+OCAMLOPTPACKAGES = $(OCAMLCPACKAGES)
|
||||||
|
|
||||||
|
OCAMLDOCFLAGS = -html -sort
|
||||||
|
|
||||||
|
--
|
||||||
|
2.22.0
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
--- 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,15 +1,16 @@
|
|||||||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
|
||||||
Name: ocaml-augeas
|
Name: ocaml-augeas
|
||||||
Version: 0.5
|
Version: 0.6
|
||||||
Release: 37%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: OCaml bindings for Augeas configuration API
|
Summary: OCaml bindings for Augeas configuration API
|
||||||
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
|
# Upstream patch to enable debuginfo.
|
||||||
|
Patch1: 0001-Use-ocamlopt-g-option.patch
|
||||||
|
|
||||||
BuildRequires: ocaml >= 3.09.0
|
BuildRequires: ocaml >= 3.09.0
|
||||||
BuildRequires: ocaml-findlib-devel
|
BuildRequires: ocaml-findlib-devel
|
||||||
@ -34,8 +35,7 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -93,6 +93,9 @@ chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 20 2019 Richard W.M. Jones <rjones@redhat.com> - 0.6-1
|
||||||
|
- New upstream version 0.6.
|
||||||
|
|
||||||
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 0.5-37
|
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 0.5-37
|
||||||
- OCaml 4.08.1 (final) rebuild.
|
- OCaml 4.08.1 (final) rebuild.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user