Accepting request 517013 from devel:languages:ocaml

- Use Group: Development/Languages/OCaml

- Update to version 0.5.2
  Fix non POSIX behavior of cp with links when "recurse:false".
  Test file existence with Unix.LargeFile.lstat in FileUtilRM.

- Wrap specfile conditionals to fix quilt setup

- Remove autodeps for pre openSUSE 12.1 releases

OBS-URL: https://build.opensuse.org/request/show/517013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-fileutils?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-08-18 13:03:14 +00:00 committed by Git OBS Bridge
commit 132569f4b1
5 changed files with 47 additions and 18 deletions

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<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="filename">ocaml-fileutils</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>

View File

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

View File

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

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
- Use Group: Development/Languages/OCaml
-------------------------------------------------------------------
Mon Jul 17 20:24:18 UTC 2017 - ohering@suse.de
- Update to version 0.5.2
Fix non POSIX behavior of cp with links when "recurse:false".
Test file existence with Unix.LargeFile.lstat in FileUtilRM.
-------------------------------------------------------------------
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
- Wrap specfile conditionals to fix quilt setup
-------------------------------------------------------------------
Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de
- Remove autodeps for pre openSUSE 12.1 releases
-------------------------------------------------------------------
Mon May 30 06:39:17 UTC 2016 - ohering@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package ocaml-fileutils
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: ocaml-fileutils
Version: 0.5.0
Version: 0.5.2
Release: 0
%{ocaml_preserve_bytecode}
%{?ocaml_preserve_bytecode}
Summary: OCaml library for common file and filename operations
License: SUSE-LGPL-2.0-with-linking-exception
Group: Development/Libraries/Other
Url: https://forge.ocamlcore.org/projects/ocaml-fileutils/
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
@ -33,12 +33,6 @@ BuildRequires: ocamlfind(oUnit)
BuildRequires: ocamlfind(str)
BuildRequires: ocamlfind(unix)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# ocaml autodep start for pkg: ocaml-fileutils
# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires
%if 0%{?suse_version} < 1210
Requires: ocaml-runtime
%endif
# ocaml autodep end for pkg: ocaml-fileutils
%description
This library is intended to provide a basic interface to the most
@ -52,7 +46,7 @@ abstract filenames.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/Other
Group: Development/Languages/OCaml
Requires: %{name} = %{version}
%description devel
@ -62,7 +56,6 @@ developing applications that use %{name}.
%prep
%setup -q
%build
%oasis_setup
%ocaml_oasis_configure --enable-docs
@ -80,7 +73,7 @@ developing applications that use %{name}.
%doc COPYING.txt
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif
@ -90,7 +83,7 @@ developing applications that use %{name}.
%{oasis_docdir_html}
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa