Sync from SUSE:SLFO:Main ocaml-menhir revision e609d033699bd7daaed77a0247db2c8c

This commit is contained in:
Adrian Schröter 2024-05-03 17:21:09 +02:00
commit 0f25381ce9
5 changed files with 174 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

21
_service Normal file
View File

@ -0,0 +1,21 @@
<services>
<service name="tar_scm" mode="disabled">
<param name='exclude'>check-tarball.sh</param>
<param name='exclude'>compile-ocaml.sh</param>
<param name='exclude'>coq-menhirlib</param>
<param name='exclude'>exec.sh</param>
<param name="filename">ocaml-menhir</param>
<param name="revision">90f9b8771f2e4a618099581fb59949a89f3fe72c</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://gitlab.inria.fr/fpottier/menhir.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-menhir-20230415.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

56
ocaml-menhir.changes Normal file
View File

@ -0,0 +1,56 @@
-------------------------------------------------------------------
Fri May 5 05:05:05 UTC 2023 - ohering@suse.de
- Update to version 20230415
-------------------------------------------------------------------
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de
- Update to version 20220210
-------------------------------------------------------------------
Thu Dec 15 15:15:15 UTC 2021 - ohering@suse.de
- Update to version 20211215
-------------------------------------------------------------------
Sun Oct 10 10:10:10 UTC 2021 - ohering@suse.de
- Update to version 20211012
-------------------------------------------------------------------
Fri Apr 9 09:09:09 UTC 2021 - ohering@suse.de
- Update to version 20210310
-------------------------------------------------------------------
Sat Feb 29 20:20:20 UTC 2020 - ohering@suse.de
- update version 20200211, with _service file
- Require dune 2.0+
-------------------------------------------------------------------
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
- Use Group: Development/Languages/OCaml
-------------------------------------------------------------------
Mon Jul 17 20:24:18 UTC 2017 - olaf@aepfle.de
- Update to version 20170712
-------------------------------------------------------------------
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
-------------------------------------------------------------------
Tue May 24 12:01:41 UTC 2016 - olaf@aepfle.de
- Initial version 20160504 for coccinelle

71
ocaml-menhir.spec Normal file
View File

@ -0,0 +1,71 @@
#
# spec file for package ocaml-menhir
#
# 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/
#
Name: ocaml-menhir
Version: 20230415
Release: 0
%{?ocaml_preserve_bytecode}
Summary: LR(1) parser generator for the OCaml programming language
License: LGPL-2.0
Group: Development/Languages/OCaml
Url: https://opam.ocaml.org/packages/menhir
Source0: %name-%version.tar.xz
BuildRequires: time
BuildRequires: ocaml
BuildRequires: ocaml-dune >= 2.8
BuildRequires: ocaml-rpm-macros >= 20230101
BuildRequires: ocamlfind(unix)
%description
LR(1) parser generator
%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
%build
dune_release_pkgs='menhir,menhirLib,menhirSdk'
%ocaml_dune_setup
%ocaml_dune_build
%install
%ocaml_dune_install
%ocaml_create_file_list
%check
%ifarch x86_64
%else
dune_test_tolerate_fail='dune_test_tolerate_fail bitsize'
%endif
%ocaml_dune_test
%files -f %name.files
%_bindir/*
%_mandir/*/*
%files devel -f %name.files.devel
%changelog