- New upstream release 1.3.
- A slightly different viewGraph-related patch is required for this release.
This commit is contained in:
parent
a3b8edba14
commit
3b940d1029
|
@ -1 +1 @@
|
|||
ocamlgraph-1.1.tar.gz
|
||||
ocamlgraph-1.3.tar.gz
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
||||
|
||||
Name: ocaml-ocamlgraph
|
||||
Version: 1.1
|
||||
Version: 1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: OCaml library for arc and node graphs
|
||||
|
||||
|
@ -30,6 +30,7 @@ Source0: http://ocamlgraph.lri.fr/download/ocamlgraph-%{version}.tar.gz
|
|||
Source1: ocamlgraph-test.result
|
||||
|
||||
Patch0: ocamlgraph-1.1-no-view-graph-doc.patch
|
||||
Patch1: ocamlgraph-1.3-no-viewGraph_test.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
ExcludeArch: sparc64 s390 s390x
|
||||
|
@ -65,6 +66,7 @@ developing applications that use %{name}.
|
|||
%setup -q -n ocamlgraph-%{version}
|
||||
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
cp %{SOURCE1} .
|
||||
|
||||
|
@ -77,6 +79,7 @@ cp %{SOURCE1} .
|
|||
%else
|
||||
%define opt_option OCAMLBEST=byte OCAMLC=ocamlc
|
||||
%endif
|
||||
make depend
|
||||
make %{opt_option}
|
||||
make doc
|
||||
|
||||
|
@ -131,6 +134,10 @@ rm -rf %{buildroot}
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 8 2009 Richard W.M. Jones <rjones@redhat.com> - 1.3-1
|
||||
- New upstream release 1.3.
|
||||
- A slightly different viewGraph-related patch is required for this release.
|
||||
|
||||
* Fri Aug 07 2009 Alan Dunn <amdunn@gmail.com> - 1.1-1
|
||||
- New upstream release 1.1.
|
||||
- Makefile patch updated (still not incorporated upstream).
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- ocamlgraph-1.3.orig/Makefile.in 2009-10-02 12:48:39.000000000 +0100
|
||||
+++ ocamlgraph-1.3.no-vg/Makefile.in 2009-10-08 14:02:34.396309817 +0100
|
||||
@@ -144,7 +144,7 @@
|
||||
|
||||
viewer: $(VIEWER_DIR)/viewgraph.byte $(VIEWER_DIR)/viewgraph.$(OCAMLBEST)
|
||||
|
||||
-VIEWER_CMO=viewGraph_core viewGraph_select viewGraph_utils viewGraph_test
|
||||
+VIEWER_CMO=viewGraph_core viewGraph_select viewGraph_utils
|
||||
VIEWER_CMO:=$(patsubst %,$(VIEWER_DIR)/%.cmo, $(VIEWER_CMO))
|
||||
VIEWER_CMX=$(VIEWER_CMO:.cmo=.cmx)
|
||||
VIEWER_CMI=$(VIEWER_CMO:.cmo=.cmi)
|
Loading…
Reference in New Issue