Sync from SUSE:SLFO:Main ocaml-pp revision 1af261d6e152eabb646e0263526e57d2
This commit is contained in:
commit
8450154be2
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-pp</param>
|
||||
<param name="revision">83b68c740f21acdcfe54436355ab328372871357</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/ocaml-dune/pp.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-pp-1.2.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
ocaml-pp-1.2.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
26
ocaml-pp.changes
Normal file
26
ocaml-pp.changes
Normal file
@ -0,0 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 9 09:09:09 UTC 2023 - ohering@suse.de
|
||||
|
||||
- Update to version 1.2.0
|
||||
See included CHANGES.md for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 05:05:05 UTC 2023 - ohering@suse.de
|
||||
|
||||
- JaneStreet libraries are 64bit, this pkg depends on them
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 9 12:34:56 UTC 2022 - ohering@suse.de
|
||||
|
||||
- Remove usage of ocaml-dune-bootstrap, following changes in ocaml-dune
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de
|
||||
|
||||
- Build with ocaml-dune-bootstrap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 13 13:13:13 UTC 2022 - ohering@suse.de
|
||||
|
||||
- Initial version 1.1.2
|
||||
|
96
ocaml-pp.spec
Normal file
96
ocaml-pp.spec
Normal file
@ -0,0 +1,96 @@
|
||||
#
|
||||
# spec file for package ocaml-pp
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%bcond_with ocaml_pp_testsuite
|
||||
%define build_flavor @BUILD_FLAVOR@%nil
|
||||
%if "%build_flavor" == "testsuite"
|
||||
%if %{without ocaml_pp_testsuite}
|
||||
ExclusiveArch: do-not-build
|
||||
%else
|
||||
ExclusiveArch: aarch64 ppc64 ppc64le riscv64 s390x x86_64
|
||||
%endif
|
||||
%define nsuffix -testsuite
|
||||
%else
|
||||
%define nsuffix %nil
|
||||
%endif
|
||||
|
||||
%define pkg ocaml-pp
|
||||
Name: %pkg%nsuffix
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
%{?ocaml_preserve_bytecode}
|
||||
Summary: Pretty-printing library
|
||||
License: MIT
|
||||
Group: Development/Languages/OCaml
|
||||
BuildRoot: %_tmppath/%name-%version-build
|
||||
URL: https://opam.ocaml.org/packages/pp
|
||||
Source0: %pkg-%version.tar.xz
|
||||
BuildRequires: ocaml-dune >= 2.8
|
||||
BuildRequires: ocaml-rpm-macros >= 20230101
|
||||
BuildRequires: ocaml(ocaml_base_version) >= 4.08
|
||||
|
||||
%if "%build_flavor" == "testsuite"
|
||||
BuildRequires: ocamlfind(pp)
|
||||
BuildRequires: ocamlfind(ppx_expect)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This library provides a lean alternative to the Format 1 module of the OCaml standard library.
|
||||
|
||||
Pp uses the same concepts of boxes and break hints, and the final rendering is done to formatter from the Format module.
|
||||
|
||||
%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
|
||||
%setup -q -n %pkg-%version
|
||||
|
||||
%build
|
||||
dune_release_pkgs='pp'
|
||||
%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
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%files devel -f %name.files.devel
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user