Sync from SUSE:SLFO:Main ocaml-pcre revision ca011a404aef7f2854a0b863c6eb3a25

This commit is contained in:
Adrian Schröter 2024-05-03 17:22:09 +02:00
commit e59ddc8945
5 changed files with 219 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

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="filename">ocaml-pcre</param>
<param name="revision">efdf4840f1a4d8e26f125fa9c18f2a02944e6897</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">https://github.com/mmottl/pcre-ocaml.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-pcre-7.5.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

107
ocaml-pcre.changes Normal file
View File

@ -0,0 +1,107 @@
-------------------------------------------------------------------
Mon Apr 4 04:04:04 UTC 2022 - ohering@suse.de
- Use https URL for github.com
-------------------------------------------------------------------
Sat Sep 11 12:34:56 UTC 2021 - ohering@suse.de
- Update to version 7.5.0
Require dune 2.7+
-------------------------------------------------------------------
Thu Aug 20 20:20:20 UTC 2020 - ohering@suse.de
- Update to version 7.4.6
Remove build dependency on Base
-------------------------------------------------------------------
Sat Feb 29 20:20:20 UTC 2020 - ohering@suse.de
- Update to version 7.4.3
See included CHANGES.md
-------------------------------------------------------------------
Thu Feb 20 20:20:20 UTC 2020 - ohering@suse.de
- Update to version 7.4.1
- Require current ocaml-rpm-macros
- Remove ocaml-pcre-warnings.patch
-------------------------------------------------------------------
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
- Use Group: Development/Languages/OCaml
-------------------------------------------------------------------
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 23 20:02:46 UTC 2016 - ohering@suse.de
- Update to version 7.2.3
-------------------------------------------------------------------
Tue Nov 10 10:52:06 UTC 2015 - ohering@suse.de
- Update to version 7.1.6
-------------------------------------------------------------------
Tue Nov 10 10:18:47 UTC 2015 - ohering@suse.de
- Add hardcoded Provides for pre 12.1 repos
-------------------------------------------------------------------
Mon Feb 16 16:33:25 UTC 2015 - ohering@suse.de
- Update to version 7.1.5
-------------------------------------------------------------------
Mon Jun 3 09:23:34 CEST 2013 - ohering@suse.de
- Recompress with xz
-------------------------------------------------------------------
Wed Jan 16 16:03:19 CET 2013 - ohering@suse.de
- disable also /usr/lib/rpm/find-debuginfo.sh
-------------------------------------------------------------------
Mon Jan 14 15:58:16 CET 2013 - ohering@suse.de
- disable strip, it destroys bytecode binaries
-------------------------------------------------------------------
Mon Jan 14 10:07:21 CET 2013 - ohering@suse.de
- change Requires: version-release to just Requires: version
-------------------------------------------------------------------
Mon Sep 17 16:06:58 CEST 2012 - ohering@suse.de
- Update to version 7.0.2
Added --with-pcre-config flag to configure location of PCRE configuration generator.
Upgraded to OCaml 4.00
Switched to Oasis for packaging
Switched to OCamlBuild for the build process
Rewrote README in Markdown
Added stricter compilation flags
Minor bugfixes
Fixed native code debug build target by updating OCamlMakefile.
Fixed a Windows portability bug in the C-bindings.
Updated OCamlMakefile to fix linking order.
-------------------------------------------------------------------
Tue Jul 5 20:00:55 UTC 2011 - ampsaltis@gmail.com
- Add changes file
- New (sort of) upstream version 6.2.2
- Internal dep generation now based on SuSE version

69
ocaml-pcre.spec Normal file
View File

@ -0,0 +1,69 @@
#
# spec file for package ocaml-pcre
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2011 Andrew Psaltis <ampsaltis at gmail.com>
#
# 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-pcre
Version: 7.5.0
Release: 0
%{?ocaml_preserve_bytecode}
Summary: Perl compatibility regular expressions (PCRE) for OCaml
License: LGPL-2.0-only
Group: Development/Languages/OCaml
URL: https://opam.ocaml.org/packages/pcre
Source0: %name-%version.tar.xz
BuildRequires: ocaml-dune >= 2.7
BuildRequires: ocaml-rpm-macros >= 20220222
BuildRequires: pkg-config
BuildRequires: ocaml(ocaml_base_version) >= 4.12
BuildRequires: ocamlfind(dune.configurator)
BuildRequires: pkgconfig(libpcre)
%description
Perl compatibile regular expressions (PCRE) for OCaml.
%package devel
Summary: Development files for %name
Group: Development/Languages/OCaml
Requires: %name = %version
Requires: pcre-devel
%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%autosetup -p1
%build
dune_release_pkgs='pcre'
%ocaml_dune_setup
%ocaml_dune_build
%install
%ocaml_dune_install
%ocaml_create_file_list
%check
%ocaml_dune_test
%files -f %name.files
%files devel -f %name.files.devel
%doc README.md
%changelog