Sync from SUSE:SLFO:Main ocaml-fileutils revision c1c55fef7775e37a4a9e0c29ad0abd0d
This commit is contained in:
commit
5338aeee05
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>testsuite</package>
|
||||
</multibuild>
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="filename">ocaml-fileutils</param>
|
||||
<param name="revision">324a05938d88c4b645287adbf5ceb74f4ce0daec</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/gildor478/ocaml-fileutils.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</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>
|
BIN
ocaml-fileutils-0.6.4.tar.xz
(Stored with Git LFS)
Normal file
BIN
ocaml-fileutils-0.6.4.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
90
ocaml-fileutils.changes
Normal file
90
ocaml-fileutils.changes
Normal file
@ -0,0 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 1 01:01:01 UTC 2023 - ohering@suse.de
|
||||
|
||||
- Update to version 0.6.4
|
||||
See included CHANGES.md for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de
|
||||
|
||||
- Use https URL for github.com
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 21:21:21 UTC 2021 - ohering@suse.de
|
||||
|
||||
- remove dependency to ounit via _multibuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 20:20:20 UTC 2020 - ohering@suse.de
|
||||
|
||||
- Update to version 0.6.3
|
||||
See included CHANGES.md for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de
|
||||
|
||||
- Require current dune macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 12:34:56 UTC 2019 - ohering@suse.de
|
||||
|
||||
- use dune macros from ocaml-rpm-macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 16:35:39 UTC 2019 - ohering@suse.de
|
||||
|
||||
- Update to version 0.6.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Fix build with ocaml-4.03 (fate#320836)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de
|
||||
|
||||
- Add hardcoded Provides for pre 12.1 repos
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 16 08:34:42 UTC 2015 - ohering@suse.de
|
||||
|
||||
- Update to version 0.5.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 24 06:56:58 UTC 2015 - olaf@aepfle.de
|
||||
|
||||
- Update License to SUSE-LGPL-2.0-with-linking-exception
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 8 20:41:50 UTC 2014 - mlatimer@suse.com
|
||||
|
||||
- Update spec file to use ocaml-rpm-macros, remove
|
||||
ExclusiveArch, and ensure bytecode is built
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 5 18:02:46 UTC 2014 - mlatimer@suse.com
|
||||
|
||||
- Initial commit using upstream version 0.4.5
|
||||
|
97
ocaml-fileutils.spec
Normal file
97
ocaml-fileutils.spec
Normal file
@ -0,0 +1,97 @@
|
||||
#
|
||||
# spec file for package ocaml-fileutils
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define build_flavor @BUILD_FLAVOR@%nil
|
||||
%if "%build_flavor" == "testsuite"
|
||||
%define nsuffix -testsuite
|
||||
%else
|
||||
%define nsuffix %nil
|
||||
%endif
|
||||
|
||||
%define pkg ocaml-fileutils
|
||||
Name: %pkg%nsuffix
|
||||
Version: 0.6.4
|
||||
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://opam.ocaml.org/packages/fileutils
|
||||
Source0: %pkg-%version.tar.xz
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-dune
|
||||
BuildRequires: ocaml-rpm-macros >= 20230101
|
||||
BuildRequires: ocamlfind(seq)
|
||||
BuildRequires: ocamlfind(stdlib-shims)
|
||||
BuildRequires: ocamlfind(str)
|
||||
BuildRequires: ocamlfind(unix)
|
||||
|
||||
%if "%build_flavor" == "testsuite"
|
||||
BuildRequires: ocamlfind(fileutils)
|
||||
BuildRequires: ocamlfind(ounit2)
|
||||
BuildRequires: ocamlfind(stdlib-shims)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This library is intended to provide a basic interface to the most
|
||||
common file and filename operations. It provides several different
|
||||
filename functions: reduce, make_absolute, make_relative... It also
|
||||
enables you to manipulate real files: cp, mv, rm, touch...
|
||||
|
||||
It is separated into two modules: SysUtil and SysPath. The first one
|
||||
manipulates real files, the second one is made for manipulating
|
||||
abstract filenames.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %name
|
||||
Group: Development/Languages/OCaml
|
||||
Requires: %name = %version
|
||||
|
||||
%description devel
|
||||
The %name-devel package contains libraries and signature files for
|
||||
developing applications that use %name.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %pkg-%version
|
||||
|
||||
%build
|
||||
dune_release_pkgs='fileutils'
|
||||
%ocaml_dune_setup
|
||||
%if "%build_flavor" == ""
|
||||
%ocaml_dune_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if "%build_flavor" == ""
|
||||
%ocaml_dune_install
|
||||
%ocaml_create_file_list
|
||||
%endif
|
||||
|
||||
%if "%build_flavor" == "testsuite"
|
||||
%check
|
||||
%ocaml_dune_test
|
||||
%endif
|
||||
|
||||
%if "%build_flavor" == ""
|
||||
%files -f %name.files
|
||||
|
||||
%files devel -f %name.files.devel
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user