2008-05-12 19:18:15 +00:00
|
|
|
Name: ocaml-ounit
|
2018-04-10 16:52:58 +00:00
|
|
|
Version: 2.0.8
|
2018-06-19 20:31:16 +00:00
|
|
|
Release: 2%{?dist}
|
2008-05-12 19:18:15 +00:00
|
|
|
Summary: Unit test framework for OCaml
|
|
|
|
|
|
|
|
License: MIT
|
2011-01-05 15:52:17 +00:00
|
|
|
URL: http://ounit.forge.ocamlcore.org/
|
2018-04-10 16:52:58 +00:00
|
|
|
Source0: http://forge.ocamlcore.org/frs/download.php/1749/ounit-%{version}.tar.gz
|
2008-05-12 19:18:15 +00:00
|
|
|
|
|
|
|
BuildRequires: ocaml >= 3.10.0
|
|
|
|
BuildRequires: ocaml-findlib-devel
|
|
|
|
BuildRequires: ocaml-ocamldoc
|
2016-11-05 08:20:18 +00:00
|
|
|
BuildRequires: ocaml-ocamlbuild
|
2008-05-12 19:18:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
OUnit is a unit test framework for OCaml. It allows one to easily
|
|
|
|
create unit-tests for OCaml code. It is based on HUnit, a unit testing
|
|
|
|
framework for Haskell. It is similar to JUnit, and other xUnit testing
|
|
|
|
frameworks.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
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 ounit-%{version}
|
2011-01-05 15:52:17 +00:00
|
|
|
sh ./configure --destdir $RPM_BUILD_ROOT
|
2008-05-12 19:18:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
make all
|
|
|
|
make doc
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|
|
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
|
|
|
make install
|
|
|
|
|
2011-01-05 15:52:17 +00:00
|
|
|
# Remove this, reinstall it properly with a %%doc rule below.
|
|
|
|
rm -rf $RPM_BUILD_ROOT/usr/local/share/doc
|
|
|
|
|
2008-05-12 19:18:15 +00:00
|
|
|
|
|
|
|
%files
|
2011-01-05 15:52:17 +00:00
|
|
|
%doc LICENSE.txt
|
2008-05-12 19:18:15 +00:00
|
|
|
%{_libdir}/ocaml/oUnit
|
2017-11-08 16:09:01 +00:00
|
|
|
%ifarch %{ocaml_native_compiler}
|
2008-05-12 19:18:15 +00:00
|
|
|
%exclude %{_libdir}/ocaml/oUnit/*.a
|
|
|
|
%exclude %{_libdir}/ocaml/oUnit/*.cmxa
|
|
|
|
%endif
|
|
|
|
%exclude %{_libdir}/ocaml/oUnit/*.mli
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
2011-01-05 15:52:17 +00:00
|
|
|
%doc LICENSE.txt README.txt
|
|
|
|
%doc _build/src/api-ounit.docdir/*
|
2017-11-08 16:09:01 +00:00
|
|
|
%ifarch %{ocaml_native_compiler}
|
2008-05-12 19:18:15 +00:00
|
|
|
%{_libdir}/ocaml/oUnit/*.a
|
|
|
|
%{_libdir}/ocaml/oUnit/*.cmxa
|
|
|
|
%endif
|
|
|
|
%{_libdir}/ocaml/oUnit/*.mli
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2018-06-19 20:31:16 +00:00
|
|
|
* Tue Jun 19 2018 Richard W.M. Jones <rjones@redhat.com> - 2.0.8-2
|
|
|
|
- OCaml 4.07.0-rc1 rebuild.
|
|
|
|
|
2018-04-10 16:52:58 +00:00
|
|
|
* Tue Apr 10 2018 Ding-Yi Chen <dchen@redhat.com> - 2.0.8-1
|
|
|
|
- New upstream version 2.0.8.
|
|
|
|
|
2018-02-08 08:55:29 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-08 16:09:01 +00:00
|
|
|
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 2.0.6-1
|
|
|
|
- New upstream version 2.0.6.
|
2017-11-08 15:32:20 +00:00
|
|
|
|
2017-11-07 23:13:51 +00:00
|
|
|
* Tue Nov 07 2017 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-28
|
|
|
|
- OCaml 4.06.0 rebuild.
|
|
|
|
|
2017-08-07 18:17:12 +00:00
|
|
|
* Mon Aug 07 2017 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-27
|
|
|
|
- OCaml 4.05.0 rebuild.
|
|
|
|
|
2017-08-03 04:18:24 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-26
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 01:30:21 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-26 17:27:58 +00:00
|
|
|
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-24
|
|
|
|
- OCaml 4.04.2 rebuild.
|
|
|
|
|
2017-05-11 20:24:07 +00:00
|
|
|
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-23
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2017-05-11 17:51:03 +00:00
|
|
|
* Thu May 11 2017 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-22
|
|
|
|
- OCaml 4.04.1 rebuild.
|
|
|
|
|
2017-02-11 00:34:25 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-09 18:00:11 +00:00
|
|
|
* Wed Nov 09 2016 Dan Horák <dan@danny.cz> - 2.0.0-20
|
|
|
|
- rebuild for s390x codegen bug
|
|
|
|
|
2016-11-04 22:58:30 +00:00
|
|
|
* Fri Nov 04 2016 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-19
|
2016-11-05 08:20:18 +00:00
|
|
|
- Add dependency on ocamlbuild.
|
2016-11-04 22:58:30 +00:00
|
|
|
|
2016-09-12 09:06:11 +00:00
|
|
|
* Mon Sep 12 2016 Dan Horák <dan[at]danny.cz> - 2.0.0-18
|
|
|
|
- disable debuginfo subpackage on interpreted builds
|
|
|
|
|
2016-02-04 11:09:19 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-28 13:23:08 +00:00
|
|
|
* Tue Jul 28 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-16
|
|
|
|
- OCaml 4.02.3 rebuild.
|
|
|
|
|
2015-07-27 09:25:45 +00:00
|
|
|
* Mon Jul 27 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-15
|
|
|
|
- Remove ExcludeArch since bytecode build should now work.
|
|
|
|
|
2015-06-23 20:16:23 +00:00
|
|
|
* Tue Jun 23 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-14
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2015-06-17 12:01:51 +00:00
|
|
|
* Wed Jun 17 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-13
|
|
|
|
- ocaml-4.02.2 rebuild.
|
|
|
|
|
2015-02-16 18:23:24 +00:00
|
|
|
* Mon Feb 16 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-12
|
|
|
|
- Bump release and rebuild.
|
|
|
|
|
2015-02-16 17:46:04 +00:00
|
|
|
* Mon Feb 16 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-11
|
|
|
|
- ocaml-4.02.1 rebuild.
|
|
|
|
|
2015-01-26 16:01:03 +00:00
|
|
|
* Mon Jan 26 2015 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-10
|
|
|
|
- Fix Source URL.
|
|
|
|
- Rebuild against OCaml to fix "make inconsistent assumptions over
|
|
|
|
implementation Arg".
|
|
|
|
|
2014-08-30 16:39:13 +00:00
|
|
|
* Sat Aug 30 2014 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-9
|
|
|
|
- ocaml-4.02.0 final rebuild.
|
|
|
|
|
2014-08-23 14:51:57 +00:00
|
|
|
* Sat Aug 23 2014 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-8
|
|
|
|
- ocaml-4.02.0+rc1 rebuild.
|
|
|
|
|
2014-08-17 13:02:35 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-01 21:50:01 +00:00
|
|
|
* Fri Aug 01 2014 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-6
|
|
|
|
- ocaml-4.02.0-0.8.git10e45753.fc22 rebuild.
|
|
|
|
|
2014-07-17 15:26:19 +00:00
|
|
|
* Thu Jul 17 2014 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-5
|
|
|
|
- OCaml 4.02.0 beta rebuild.
|
|
|
|
|
2014-07-15 13:38:38 +00:00
|
|
|
* Mon Jul 14 2014 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-4
|
|
|
|
- Remove workaround for code gen bug and try building against
|
|
|
|
possibly fixed compiler.
|
|
|
|
|
2014-07-13 20:06:19 +00:00
|
|
|
* Sun Jul 13 2014 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-3
|
|
|
|
- Add workaround for code generator bug on ARM (RHBZ#1119049).
|
2014-07-13 15:51:36 +00:00
|
|
|
|
2014-07-12 19:10:06 +00:00
|
|
|
* Sat Jul 12 2014 Richard W.M. Jones <rjones@redhat.com> - 2.0.0-1
|
|
|
|
- New upstream version 2.0.0.
|
|
|
|
- Remove BR on camlp4.
|
|
|
|
|
2014-06-07 15:45:06 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-14 17:49:08 +00:00
|
|
|
* Fri Feb 14 2014 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-8
|
|
|
|
- Rebuild for updated Arg module (RHBZ#1065447).
|
|
|
|
|
2013-09-14 06:27:03 +00:00
|
|
|
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-7
|
2013-09-18 22:10:16 +00:00
|
|
|
- Rebuild for OCaml 4.01.0.
|
2013-09-14 06:27:03 +00:00
|
|
|
- Enable debuginfo.
|
|
|
|
|
2013-08-03 14:59:13 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 09:01:47 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-19 13:10:01 +00:00
|
|
|
* Fri Oct 19 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-4
|
|
|
|
- Rebuild for OCaml 4.00.1.
|
|
|
|
- Clean up the spec file.
|
|
|
|
|
2012-07-28 18:13:35 +00:00
|
|
|
* Sat Jul 28 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-3
|
|
|
|
- Bump and rebuild against new OCaml 4.00.0 official release.
|
|
|
|
|
2012-07-20 06:06:48 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-30 09:15:13 +00:00
|
|
|
* Sat Jun 30 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.2-1
|
|
|
|
- New upstream version 1.1.2, fixed for OCaml 4.00.0.
|
|
|
|
|
2012-06-09 16:35:07 +00:00
|
|
|
* Sat Jun 09 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-6
|
|
|
|
- Rebuild for OCaml 4.00.0.
|
|
|
|
|
2012-05-14 19:36:27 +00:00
|
|
|
* Mon May 14 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-5
|
|
|
|
- Bump release and rebuild for new OCaml on ARM.
|
|
|
|
|
2012-01-06 15:23:14 +00:00
|
|
|
* Fri Jan 06 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-4
|
|
|
|
- Rebuild for OCaml 3.12.1.
|
|
|
|
|
2011-02-09 02:02:12 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-05 16:16:23 +00:00
|
|
|
* Wed Jan 5 2011 Richard W.M. Jones <rjones@redhat.com> - 1.1.0-2
|
2011-01-05 15:52:17 +00:00
|
|
|
- New upstream version 1.1.0.
|
|
|
|
- Project has moved to new upstream URL and Source0.
|
|
|
|
- Rebuild for OCaml 3.12.0.
|
|
|
|
- New build system:
|
|
|
|
+ doesn't need 'make allopt'
|
|
|
|
+ DESTDIR logic changed (see OASIS bug 852)
|
|
|
|
+ docdir moved
|
2011-01-05 16:16:23 +00:00
|
|
|
- LICENSE and README files renamed.
|
|
|
|
- BR camlp4.
|
2011-01-05 15:52:17 +00:00
|
|
|
|
2009-12-30 13:51:44 +00:00
|
|
|
* Wed Dec 30 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.3-7
|
|
|
|
- Rebuild for OCaml 3.11.2.
|
|
|
|
|
2009-07-25 20:01:56 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-23 08:18:06 +00:00
|
|
|
* Sat May 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.3-5
|
|
|
|
- Rebuild for OCaml 3.11.1
|
|
|
|
|
2009-04-16 09:06:12 +00:00
|
|
|
* Thu Apr 16 2009 S390x secondary arch maintainer <fedora-s390x@lists.fedoraproject.org>
|
|
|
|
- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs
|
|
|
|
(added sparc64 per request from the sparc maintainer)
|
|
|
|
|
2009-02-26 07:23:30 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-04 19:34:31 +00:00
|
|
|
* Wed Nov 26 2008 Richard W.M. Jones <rjones@redhat.com> - 1.0.3-3
|
|
|
|
- Rebuild for OCaml 3.11.0+rc1.
|
|
|
|
|
2008-11-24 11:46:06 +00:00
|
|
|
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 1.0.3-2
|
|
|
|
- Rebuild for OCaml 3.11.0
|
|
|
|
|
2008-08-31 10:02:34 +00:00
|
|
|
* Sun Aug 31 2008 Richard W.M. Jones <rjones@redhat.com> - 1.0.3-1
|
|
|
|
- New upstream version 1.0.3.
|
|
|
|
|
2008-05-12 19:18:15 +00:00
|
|
|
* Mon May 12 2008 Richard W.M. Jones <rjones@redhat.com> - 1.0.2-2
|
|
|
|
- License is MIT.
|
|
|
|
|
|
|
|
* Sat May 3 2008 Richard W.M. Jones <rjones@redhat.com> - 1.0.2-1
|
|
|
|
- Initial RPM release.
|