- Update to version 2.2.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-ounit?expand=0&rev=27
This commit is contained in:
14
_service
Normal file
14
_service
Normal file
@@ -0,0 +1,14 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://github.com/gildor478/ounit.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">2.2.0</param>
|
||||
<param name="revision">v2.2.0</param>
|
||||
<param name="filename">ocaml-ounit</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
3
ocaml-ounit-2.2.0.tar.xz
Normal file
3
ocaml-ounit-2.2.0.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b5d59a349275934fb330640fcd28950e93db81cf39251e4e0f7da2ec86a1198
|
||||
size 55572
|
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de
|
||||
|
||||
- Update to version 2.2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
|
||||
|
||||
|
@@ -17,19 +17,24 @@
|
||||
|
||||
|
||||
Name: ocaml-ounit
|
||||
Version: 2.0.0
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
%{?ocaml_preserve_bytecode}
|
||||
Summary: Ocaml OUnit test framework
|
||||
License: MIT
|
||||
Group: Development/Languages/OCaml
|
||||
Url: http://ounit.forge.ocamlcore.org/
|
||||
Source0: ounit-%{version}.tar.gz
|
||||
Patch0: ounit-strict-formats.diff
|
||||
Url: https://github.com/gildor478/ounit
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-oasis
|
||||
BuildRequires: ocaml-ocamldoc
|
||||
BuildRequires: ocaml-rpm-macros >= 4.03
|
||||
BuildRequires: ocaml-dune
|
||||
BuildRequires: ocaml-rpm-macros
|
||||
BuildRequires: ocamlfind(bytes)
|
||||
BuildRequires: ocamlfind(lwt)
|
||||
BuildRequires: ocamlfind(lwt.unix)
|
||||
BuildRequires: ocamlfind(stdlib-shims)
|
||||
BuildRequires: ocamlfind(threads)
|
||||
BuildRequires: ocamlfind(unix)
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -47,44 +52,25 @@ Requires: %{name} = %{version}
|
||||
Development files needed for application based on %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n ounit-%{version}
|
||||
%patch0 -p1
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%oasis_setup
|
||||
%ocaml_oasis_configure --enable-docs
|
||||
%ocaml_oasis_build
|
||||
%ocaml_oasis_doc
|
||||
%ocaml_dune_setup
|
||||
%ocaml_dune_build
|
||||
|
||||
%install
|
||||
%ocaml_oasis_findlib_install
|
||||
%ocaml_dune_install
|
||||
%ocaml_create_file_list
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.cmxs
|
||||
%endif
|
||||
%check
|
||||
%ocaml_dune_test
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
|
||||
%files devel -f %{name}.files.devel
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{oasis_docdir_html}
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%if 0%{?ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.a
|
||||
%{_libdir}/ocaml/*/*.cmx
|
||||
%{_libdir}/ocaml/*/*.cmxa
|
||||
%endif
|
||||
%{_libdir}/ocaml/*/*.annot
|
||||
%{_libdir}/ocaml/*/*.cma
|
||||
%{_libdir}/ocaml/*/*.cmi
|
||||
%{_libdir}/ocaml/*/*.cmt
|
||||
%{_libdir}/ocaml/*/*.cmti
|
||||
%{_libdir}/ocaml/*/*.ml
|
||||
%{_libdir}/ocaml/*/*.mli
|
||||
%{_libdir}/ocaml/*/META
|
||||
|
||||
%changelog
|
||||
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4d4a05b20c39c60d7486fb7a90eb4c5c08e8c9862360b5938b97a09e9bd21d85
|
||||
size 103504
|
Reference in New Issue
Block a user