## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 # Bump %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-spdx-licenses Version: 1.2.0 Release: %autorelease Summary: SPDX License Expression parser in OCaml License: MIT URL: https://github.com/kit-ty-kate/spdx_licenses VCS: git:%{url}.git Source: %{url}/archive/v%{version}/spdx_licenses-%{version}.tar.gz # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 4.08 BuildRequires: ocaml-alcotest-devel >= 1.4.0 BuildRequires: ocaml-dune >= 2.3 %description spdx_licenses is an OCaml library aiming to provide an up-to-date and strict SPDX License Expression parser. It implements the format described in https://spdx.github.io/spdx-spec/appendix-IV-SPDX-license-expressions/. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. %prep %autosetup -n spdx_licenses-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc CHANGES.md README.md %license LICENSE.txt %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Tue Dec 24 2024 Jerry James - 1.2.0-3 - Uncommitted changes * Thu Jul 18 2024 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jul 15 2024 Jerry James - 1.2.0-1 - Initial RPM ## END: Generated by rpmautospec