- Update to version 0.6.1

- Use dune macros

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-fileutils?expand=0&rev=28
This commit is contained in:
Olaf Hering 2019-09-28 07:54:45 +00:00 committed by Git OBS Bridge
parent b46e5d5ebc
commit 5834fb6481
5 changed files with 28 additions and 47 deletions

View File

@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled">
<param name="url">git://github.com/gildor478/ocaml-fileutils.git</param>
<param name="scm">git</param>
<param name="versionformat">0.5.2</param>
<param name="revision">0.5.2</param>
<param name="versionformat">0.6.1</param>
<param name="revision">v0.6.1</param>
<param name="filename">ocaml-fileutils</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9574806e3f1e77394ec03d66a984fb5e70910a039b71689934c7ee15cac6e4e
size 64980

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7eeb67bd1629e799f4c45128cb2c2fb9f8ddcce3b23c3f1e983ad0fb73148a54
size 63212

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de
- Update to version 0.6.1
- Use dune macros
-------------------------------------------------------------------
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de

View File

@ -17,22 +17,21 @@
Name: ocaml-fileutils
Version: 0.5.2
Version: 0.6.1
Release: 0
%{?ocaml_preserve_bytecode}
Summary: OCaml library for common file and filename operations
License: SUSE-LGPL-2.0-with-linking-exception
Group: Development/Languages/OCaml
Url: https://github.com/gildor478/ocaml-fileutils
Source0: ocaml-fileutils-%{version}.tar.xz
BuildRequires: ocaml >= 4.00.1
BuildRequires: ocaml-oasis
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-rpm-macros >= 4.03
BuildRequires: ocamlfind(oUnit)
Source0: %{name}-%{version}.tar.xz
BuildRequires: ocaml
BuildRequires: ocaml-dune
BuildRequires: ocaml-rpm-macros
BuildRequires: ocamlfind(bigarray)
BuildRequires: ocamlfind(stdlib-shims)
BuildRequires: ocamlfind(str)
BuildRequires: ocamlfind(unix)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This library is intended to provide a basic interface to the most
@ -54,47 +53,23 @@ The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.
%prep
%setup -q
%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
%check
%ocaml_oasis_test
%ocaml_dune_test
%files
%defattr(-,root,root,-)
%doc COPYING.txt
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif
%files -f %{name}.files
%license LICENSE.txt
%doc README.md
%files devel
%defattr(-,root,root,-)
%doc COPYING.txt AUTHORS.txt CHANGELOG.txt README.txt TODO.txt
%{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/*/*.mli
%{_libdir}/ocaml/*/*.ml
%{_libdir}/ocaml/*/META
%files devel -f %{name}.files.devel
%changelog