Compare commits

...

41 Commits
f25 ... rawhide

Author SHA1 Message Date
Richard W.M. Jones 1c397e65ac OCaml 4.12.0 build 2021-03-01 16:57:44 +00:00
Fedora Release Engineering efe11413c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:02:06 +00:00
Jerry James eae6842713 Explicitly BR make. 2020-11-09 16:47:54 -07:00
Richard W.M. Jones 087ca378a5 OCaml 4.11.1 rebuild 2020-09-01 20:33:10 +01:00
Richard W.M. Jones e67ce1277a OCaml 4.11.0 rebuild 2020-08-21 12:23:20 +01:00
Jerry James 89f7da510a Disable tests on i386 due to PIE issue. 2020-08-05 10:26:49 -06:00
Fedora Release Engineering b3d9984585 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 06:40:03 +00:00
Fedora Release Engineering 5764bbeff2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 12:14:11 +00:00
Richard W.M. Jones 462e3fc831 OCaml 4.11.0+dev2-2020-04-22 rebuild 2020-05-05 00:00:55 +01:00
Richard W.M. Jones 06f19bdccc OCaml 4.11.0 pre-release attempt 2 2020-04-21 19:49:04 +01:00
Richard W.M. Jones 475059402f OCaml 4.11.0 pre-release 2020-04-17 21:35:28 +01:00
Richard W.M. Jones 88433e4e9a Update all OCaml dependencies for RPM 4.16. 2020-04-02 23:08:05 +01:00
Richard W.M. Jones c2a6ef1449 OCaml 4.10.0 final. 2020-02-26 14:17:09 +00:00
Fedora Release Engineering 6eb2f20252 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 19:40:34 +00:00
Richard W.M. Jones 27c9570599 OCaml 4.10.0+beta1 rebuild. 2020-01-19 16:54:52 +00:00
Richard W.M. Jones 801f05e1df OCaml 4.09.0 for riscv64 2020-01-09 22:22:09 +00:00
Richard W.M. Jones a3aa873332 OCaml 4.09.0 (final) rebuild. 2019-12-06 12:52:06 +00:00
Richard W.M. Jones a00a210f7c OCaml 4.08.1 (final) rebuild. 2019-08-16 13:12:03 +01:00
Richard W.M. Jones 13518c8052 Rebuild against new ocaml-lablgtk. 2019-08-10 10:39:39 +01:00
Richard W.M. Jones e0204097a2 OCaml 4.08.1 (rc2) rebuild. 2019-07-31 22:11:48 +01:00
Fedora Release Engineering fd4e02df3c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 22:57:01 +00:00
Fedora Release Engineering f68c523888 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 16:54:00 +00:00
Fedora Release Engineering b23aecaee1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 14:46:02 +00:00
Richard W.M. Jones 5ad3f0bd75 OCaml 4.07.0 (final) rebuild. 2018-07-11 14:57:15 +01:00
Richard W.M. Jones b784d3e69b OCaml 4.07.0-rc1 rebuild. 2018-06-19 22:22:53 +01:00
Fedora Release Engineering 390232d1c2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 08:54:28 +00:00
Richard W.M. Jones c667791fb7 New upstream version 1.8.8. 2017-11-08 17:56:09 +00:00
Richard W.M. Jones b66866e56d Bump release and rebuild. 2017-11-08 17:22:07 +00:00
Richard W.M. Jones 57363b969e Bump release and rebuild. 2017-11-08 16:42:13 +00:00
Richard W.M. Jones 832e0e6d1a Bump release and rebuild. 2017-11-08 15:42:04 +00:00
Richard W.M. Jones 69afba0195 OCaml 4.06.0 rebuild. 2017-11-07 23:26:15 +00:00
Richard W.M. Jones 4b65f79d61 OCaml 4.05.0 rebuild. 2017-08-07 20:02:01 +01:00
Fedora Release Engineering 92753a8606 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 04:17:52 +00:00
Fedora Release Engineering 35cd69091d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 01:29:51 +00:00
Richard W.M. Jones 0920c5adfe OCaml 4.04.2 rebuild. 2017-06-26 19:04:46 +01:00
Richard W.M. Jones fd95484c12 Bump release and rebuild. 2017-05-12 08:33:26 +01:00
Richard W.M. Jones 1ac26ce3f5 OCaml 4.04.1 rebuild. 2017-05-11 22:15:15 +01:00
Fedora Release Engineering 68c80c00ee - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 00:33:50 +00:00
Dan Horák 39128591bc - rebuild for s390x codegen bug 2016-11-09 19:00:01 +01:00
Richard W.M. Jones 4251ad60d8 Fix the tests. 2016-11-06 19:51:13 +00:00
Richard W.M. Jones f609630572 Rebuild for OCaml 4.04.0. 2016-11-06 19:39:58 +00:00
5 changed files with 136 additions and 15 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/ocamlgraph-1.8.5.tar.gz
/ocamlgraph-1.8.6.tar.gz
/ocamlgraph-1.8.7.tar.gz
/ocamlgraph-1.8.8.tar.gz

View File

@ -1,12 +1,8 @@
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%global ocaml_destdir %{_libdir}/ocaml
%if !%{opt}
%global debug_package %{nil}
%endif
Name: ocaml-ocamlgraph
Version: 1.8.7
Release: 1%{?dist}
Version: 1.8.8
Release: 25%{?dist}
Summary: OCaml library for arc and node graphs
License: LGPLv2 with exceptions
@ -17,8 +13,12 @@ Source1: ocamlgraph-test.result
# not built.
Patch0: ocamlgraph-1.8.6-byte-install.patch
# Fix the tests - unclear why this is necessary.
Patch1: ocamlgraph-1.8.7-fix-tests.patch
BuildRequires: libart_lgpl-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: make
BuildRequires: ocaml
BuildRequires: ocaml-findlib
BuildRequires: ocaml-lablgtk-devel
@ -61,9 +61,10 @@ The %{name}-tools package contains graph editing tools for use with
%prep
%setup -q -n %{libname}-%{version}
%if ! %opt
%ifnarch %{ocaml_native_compiler}
%patch0
%endif
%patch1 -p1
cp -p %{SOURCE1} .
@ -78,7 +79,7 @@ done
%build
%configure
%if %opt
%ifarch %{ocaml_native_compiler}
%global opt_option OCAMLBEST=opt OCAMLOPT='ocamlopt.opt -g'
%else
%global opt_option OCAMLBEST=byte OCAMLC=ocamlc
@ -87,17 +88,20 @@ make depend
make %{opt_option}
make doc
# Skip the tests on i386; see https://github.com/ocaml/ocaml/issues/9800
%ifnarch %{ix86}
%ifarch %{ocaml_native_compiler}
%check
%if %{opt}
make --no-print-directory check >& test
diff -u test ocamlgraph-test.result
%endif
%endif
%install
mkdir -p %{buildroot}%{ocaml_destdir}
make OCAMLFIND_DESTDIR=%{buildroot}%{ocaml_destdir} install-findlib
%if %opt
%ifarch %{ocaml_native_compiler}
install -m 0755 -p graph.cmxs %{buildroot}%{ocaml_destdir}/%{libname}
%endif
@ -109,7 +113,7 @@ cp -p doc/* dox-devel/API
# Install the graph editing tools
mkdir -p %{buildroot}%{_bindir}
%if %opt
%ifarch %{ocaml_native_compiler}
install -m 0755 -p editor/editor.opt %{buildroot}/%{_bindir}/ocaml-graph-editor
install -m 0755 -p dgraph/dgraph.opt %{buildroot}%{_bindir}/ocaml-graph-viewer
install -m 0755 -p view_graph/viewgraph.opt \
@ -126,7 +130,7 @@ install -m 0755 -p view_graph/viewgraph.byte \
%doc CREDITS FAQ
%license COPYING LICENSE
%{ocaml_destdir}/%{libname}/
%if %opt
%ifarch %{ocaml_native_compiler}
%exclude %{ocaml_destdir}/*/*.a
%exclude %{ocaml_destdir}/*/*.cmxa
%exclude %{ocaml_destdir}/*/*.cmx
@ -137,7 +141,7 @@ install -m 0755 -p view_graph/viewgraph.byte \
%files devel
%doc CHANGES README.adoc dox-devel/*
%if %opt
%ifarch %{ocaml_native_compiler}
%{ocaml_destdir}/*/*.a
%{ocaml_destdir}/*/*.cmxa
%{ocaml_destdir}/*/*.cmx
@ -151,6 +155,112 @@ install -m 0755 -p view_graph/viewgraph.byte \
%changelog
* Mon Mar 1 16:57:43 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-25
- OCaml 4.12.0 build
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Sep 01 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-23
- OCaml 4.11.1 rebuild
* Fri Aug 21 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-22
- OCaml 4.11.0 rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-21
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon May 04 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-19
- OCaml 4.11.0+dev2-2020-04-22 rebuild
* Tue Apr 21 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-18
- OCaml 4.11.0 pre-release attempt 2
* Fri Apr 17 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-17
- OCaml 4.11.0 pre-release
* Thu Apr 02 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-16
- Update all OCaml dependencies for RPM 4.16.
* Wed Feb 26 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-15
- OCaml 4.10.0 final.
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Jan 19 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-13
- OCaml 4.10.0+beta1 rebuild.
* Thu Jan 09 2020 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-12
- OCaml 4.09.0 for riscv64
* Fri Dec 06 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-11
- OCaml 4.09.0 (final) rebuild.
* Fri Aug 16 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-10
- OCaml 4.08.1 (final) rebuild.
* Sat Aug 10 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-9
- Rebuild against new ocaml-lablgtk.
* Wed Jul 31 2019 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-8
- OCaml 4.08.1 (rc2) rebuild.
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-4
- OCaml 4.07.0 (final) rebuild.
* Tue Jun 19 2018 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-3
- OCaml 4.07.0-rc1 rebuild.
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.8-1
- New upstream version 1.8.8.
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-11
- OCaml 4.06.0 rebuild.
* Mon Aug 07 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-10
- OCaml 4.05.0 rebuild.
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-7
- OCaml 4.04.2 rebuild.
* Fri May 12 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-6
- Bump release and rebuild.
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-5
- OCaml 4.04.1 rebuild.
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Nov 09 2016 Dan Horák <dan@danny.cz> - 1.8.7-3
- rebuild for s390x codegen bug
* Sun Nov 06 2016 Richard W.M. Jones <rjones@redhat.com> - 1.8.7-2
- Rebuild for OCaml 4.04.0.
* Sat Apr 16 2016 Jerry James <loganjerry@gmail.com> - 1.8.7-1
- New upstream release

View File

@ -0,0 +1,10 @@
--- ocamlgraph-1.8.7/tests/test_clique.ml~ 2016-04-12 07:47:33.000000000 +0100
+++ ocamlgraph-1.8.7/tests/test_clique.ml 2016-11-06 19:49:38.527278156 +0000
@@ -1,5 +1,7 @@
(* Test file for Brom-Kerbosch *)
+#directory ".";;
+
open Graph
module G = Persistent.Graph.Concrete (struct

View File

@ -1,6 +1,6 @@
mkdir -p bin
ocamlopt.opt -o bin/test-ts unix.cmxa graph.cmxa tests/test_topsort.ml
ocaml graph.cma tests/test_clique.ml tests/check.ml
ocaml -I . graph.cma tests/test_clique.ml tests/check.ml
bin/test-ts 10
0 1 2
x=0 y=0 num(x)=1 num(y)=1

View File

@ -1 +1 @@
e733b8309b9374e89d96e907ecaf4f76 ocamlgraph-1.8.7.tar.gz
SHA512 (ocamlgraph-1.8.8.tar.gz) = ccb07d4a7fb0c3026ad2d4563e1ca0a88483ac3cf43c9378989ae5c031961853a11c9673c06b54a16733c5755d9c0a2783c5f475afdcc7692d2bf3d4778f5bc5