## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 # OCaml 5.5.2 rebuild # OCaml packages not built on i686 since OCaml 5 / Fedora 39. ExcludeArch: %{ix86} %ifnarch %{ocaml_native_compiler} %global debug_package %{nil} %endif Name: ocaml-domain-name Version: 0.5.0 Release: %autorelease Summary: RFC 1035 Internet domain names License: ISC URL: https://github.com//hannesm/domain-name VCS: git:%{url}.git Source0: %{url}/archive/v%{version}/domain-name-%{version}.tar.gz BuildSystem: dune BuildOption(install): -s BuildRequires: ocaml BuildRequires: ocaml-dune # Tests BuildRequires: ocaml-alcotest-devel BuildRequires: ocaml-astring-devel BuildRequires: ocaml-cmdliner-devel BuildRequires: ocaml-fmt-devel BuildRequires: ocaml-re-devel BuildRequires: ocaml-uutf-devel %description A domain name is a sequence of labels separated by dots, such as `foo.example`. Each label may contain any bytes. The length of each label may not exceed 63 charactes. The total length of a domain name is limited to 253 (byte representation is 255), but other protocols (such as SMTP) may apply even smaller limits. A domain name label is case preserving, comparison is done in a case insensitive manner. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains files for developing applications that use %{name}. %prep %autosetup -n domain-name-%{version} %files -f .ofiles-domain-name %doc README.md %license LICENSE.md %dir %{ocamldir}/domain-name/ %{ocamldir}/domain-name/META %files devel -f .ofiles-domain-name-devel %{ocamldir}/domain-name/dune-package %{ocamldir}/domain-name/opam %changelog ## START: Generated by rpmautospec * Thu Nov 19 2026 Jerry James - 0.5.0-5 - Uncommitted changes * Thu Sep 17 2026 Richard W.M. Jones - 0.5.0-4 - OCaml 5.5.1 rebuild * Thu Jul 16 2026 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild * Thu Jul 09 2026 Jerry James - 0.5.0-2 - OCaml 5.5.0 rebuild - Use the dune declarative buildsystem * Thu Apr 23 2026 Benson Muite - 0.5.0-1 - Initial import bz#2430667 ## END: Generated by rpmautospec