## START: Set by rpmautospec ## (rpmautospec version 0.3.8) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: ocaml-pcre2 Version: 7.5.2 Release: %autorelease Summary: OCaml bindings to the pcre2 library License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception URL: https://github.com/camlp5/pcre2-ocaml Source0: %{url}/releases/download/%{version}/pcre2-%{version}.tbz # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 4.12 BuildRequires: ocaml-dune >= 2.7 BuildRequires: ocaml-dune-configurator-devel BuildRequires: ocaml-ounit-devel BuildRequires: pkgconfig(libpcre2-8) %description This packages offers library functions for string pattern matching and substitution, similar to the functionality offered by the Perl language. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pcre2-devel%{?_isa} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n pcre2-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc README.md CHANGES.md %license LICENSE.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Thu Jan 25 2024 Fedora Release Engineering - 7.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 7.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Richard W.M. Jones - 7.5.2-4 - OCaml 5.1.1 + s390x code gen fix for Fedora 40 * Tue Dec 12 2023 Richard W.M. Jones - 7.5.2-3 - OCaml 5.1.1 rebuild for Fedora 40 * Thu Oct 05 2023 Richard W.M. Jones - 7.5.2-2 - OCaml 5.1 rebuild for Fedora 40 * Thu Oct 05 2023 Jerry James - 7.5.2-1 - Initial RPM ## END: Generated by rpmautospec