## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif %global giturl https://github.com/OCamlPro/swhid_core Name: ocaml-swhid-core Version: 0.1 Release: %autorelease Summary: Library for persistent identifiers used by Software Heritage License: ISC URL: https://ocamlpro.github.io/swhid_core/ VCS: git:%{giturl}.git Source: %{giturl}/archive/%{version}/swhid_core-%{version}.tar.gz # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} BuildRequires: ocaml >= 4.03 BuildRequires: ocaml-dune >= 1.11 %description swhid_core is an OCaml library to work with persistent identifiers used by Software Heritage, also known as swhid. This is the core library; for most use cases you should use the swhid library instead. %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 swhid_core-%{version} %build %dune_build %install %dune_install %check %dune_check %files -f .ofiles %doc CHANGES.md README.md %license LICENSE.md %files devel -f .ofiles-devel %changelog ## START: Generated by rpmautospec * Thu Jul 24 2025 Fedora Release Engineering - 0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Fri Jul 11 2025 Jerry James - 0.1-5 - Rebuild to fix OCaml dependencies * Fri Jan 17 2025 Fedora Release Engineering - 0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Jan 09 2025 Jerry James - 0.1-3 - OCaml 5.3.0 rebuild for Fedora 42 * Thu Jul 18 2024 Fedora Release Engineering - 0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jul 16 2024 Jerry James - 0.1-1 - Initial RPM ## END: Generated by rpmautospec