rpms/ocaml-pa-do/devel import.log, NONE, 1.1 ocaml-pa-do-0.8.4-complex.patch, NONE, 1.1 ocaml-pa-do-0.8.4-module-name-fix.patch, NONE, 1.1 ocaml-pa-do.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Richard W.M. Jones
rjones at fedoraproject.org
Wed Mar 18 09:31:19 UTC 2009
- Previous message (by thread): rpms/perl-XML-Simple-DTDReader/F-9 perl-XML-Simple-DTDReader.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/ocaml-p3l/devel README.Fedora, NONE, 1.1 debian-01-correct-href-to-gz-doc.patch, NONE, 1.1 debian-02-install-mli.patch, NONE, 1.1 import.log, NONE, 1.1 ocaml-p3l.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rjones
Update of /cvs/pkgs/rpms/ocaml-pa-do/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29087/devel
Modified Files:
.cvsignore sources
Added Files:
import.log ocaml-pa-do-0.8.4-complex.patch
ocaml-pa-do-0.8.4-module-name-fix.patch ocaml-pa-do.spec
Log Message:
Initial import.
--- NEW FILE import.log ---
ocaml-pa-do-0_8_4-3_fc11:HEAD:ocaml-pa-do-0.8.4-3.fc11.src.rpm:1237368599
ocaml-pa-do-0.8.4-complex.patch:
--- NEW FILE ocaml-pa-do-0.8.4-complex.patch ---
--- pa_do-0.8.4/tests/test_complex.ml 2009-03-04 13:58:30.000000000 +0000
+++ pa_do-0.8.4.tests/tests/test_complex.ml 2009-03-17 10:00:59.000000000 +0000
@@ -133,8 +133,8 @@
let re_max = max (abs_float w.Complex.re) (abs_float z.Complex.re)
and im_max = max (abs_float w.Complex.im) (abs_float z.Complex.im) in
(* Ignore nan results *)
- (re <> re || re <= 1e-12 *. re_max)
- && (im <> im || im <= 1e-12 *. im_max)
+ (re <> re || re <= 1e-6 *. re_max)
+ && (im <> im || im <= 1e-6 *. im_max)
>>)
let rec list_init n f =
ocaml-pa-do-0.8.4-module-name-fix.patch:
--- NEW FILE ocaml-pa-do-0.8.4-module-name-fix.patch ---
--- pa_do-0.8.4/examples/OMakefile 2009-03-04 13:58:30.000000000 +0000
+++ pa_do-0.8.4.module_name/examples/OMakefile 2009-03-17 09:31:02.000000000 +0000
@@ -43,7 +43,7 @@
# Programs using the concrete syntax or standard overloadings
CONCRETE[] =
- ad-hoc-newton
+ ad_hoc_newton
comp_diff
pi_digits
rk4
--- NEW FILE ocaml-pa-do.spec ---
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%define debug_package %{nil}
Name: ocaml-pa-do
Version: 0.8.4
Release: 3%{?dist}
Summary: OCaml syntax extension for delimited overloading
Group: Development/Libraries
License: LGPLv2+ with exceptions
URL: http://forge.ocamlcore.org/projects/pa-do/
Source0: http://forge.ocamlcore.org/frs/download.php/176/pa_do-%{version}.tar.gz
# Both sent upstream 2009-03-17:
Patch0: ocaml-pa-do-0.8.4-module-name-fix.patch
Patch1: ocaml-pa-do-0.8.4-complex.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ocaml >= 3.10.2
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-camlp4-devel
BuildRequires: ocaml-omake
# This package requires graphics.cmxa for some reason.
BuildRequires: ocaml-x11
# For pdflatex, used to build the documentation.
BuildRequires: texlive-latex
%define _use_internal_dependency_generator 0
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
%description
A syntax extension to ease the writing of efficient arithmetic
expressions in OCaml.
This package contains three syntax extensions.
- pa_infix
- pa_do (includes Delimited_overloading, Macros)
- pa_do_nums
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%prep
%setup -q -n pa_do-%{version}
%patch0 -p1
mv examples/ad-hoc-newton.ml examples/ad_hoc_newton.ml
%patch1 -p1
%build
omake --verbose
omake doc
%check
omake test
%install
# These rules work if the library uses 'ocamlfind install' to install itself.
rm -rf $RPM_BUILD_ROOT
export DESTDIR=$RPM_BUILD_ROOT
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
omake install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_libdir}/ocaml/pa_do
%if %opt
%exclude %{_libdir}/ocaml/pa_do/*.cmx
%endif
%exclude %{_libdir}/ocaml/pa_do/*.mli
%files devel
%defattr(-,root,root,-)
%doc README
%if %opt
%{_libdir}/ocaml/pa_do/*.cmx
%endif
%{_libdir}/ocaml/pa_do/*.mli
%changelog
* Tue Mar 17 2009 Richard W.M. Jones <rjones at redhat.com> - 0.8.4-3
- Patch module name which is illegal in OCaml 3.11.
- Patch complex tests.
* Mon Mar 16 2009 Richard W.M. Jones <rjones at redhat.com> - 0.8.4-2
- Add check section which runs the tests.
- Don't duplicate LICENSE file in the -devel subpackage as well.
* Mon Mar 16 2009 Richard W.M. Jones <rjones at redhat.com> - 0.8.4-1
- New upstream version 0.8.4.
- Use http URLs instead of https URLs.
- Min version of OCaml required is 3.10, not 3.11. This will let us
distribute on Fedora 10.
* Sun Feb 8 2009 Richard W.M. Jones <rjones at redhat.com> - 0.8.3-2
- New upstream version 0.8.3.
- Missing BR pdflatex.
* Tue Jan 13 2009 Richard W.M. Jones <rjones at redhat.com> - 0.8.2-1
- New upstream version 0.8.2.
* Sun Dec 21 2008 Richard W.M. Jones <rjones at redhat.com> - 0.8.1-2
- Correct the source URL.
* Sat Dec 20 2008 Richard W.M. Jones <rjones at redhat.com> - 0.8.1-1
- New upstream release 0.8.1.
- Run omake with the --verbose option to try to debug Koji failures.
* Tue Dec 16 2008 Richard W.M. Jones <rjones at redhat.com> - 0.8-1
- Initial RPM release, forward-ported to OCaml 3.11.0.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-pa-do/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 18 Mar 2009 03:40:21 -0000 1.1
+++ .cvsignore 18 Mar 2009 09:30:48 -0000 1.2
@@ -0,0 +1 @@
+pa_do-0.8.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-pa-do/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Mar 2009 03:40:21 -0000 1.1
+++ sources 18 Mar 2009 09:30:48 -0000 1.2
@@ -0,0 +1 @@
+bca4acf86c582c99961d05762cf1a62f pa_do-0.8.4.tar.gz
- Previous message (by thread): rpms/perl-XML-Simple-DTDReader/F-9 perl-XML-Simple-DTDReader.spec, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/ocaml-p3l/devel README.Fedora, NONE, 1.1 debian-01-correct-href-to-gz-doc.patch, NONE, 1.1 debian-02-install-mli.patch, NONE, 1.1 import.log, NONE, 1.1 ocaml-p3l.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list