The package rpms/ocaml-omd.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/ocaml-omd.git/commit/?id=e9850aa4175....
Change: +ExcludeArch: %{ix86}
Thanks.
Full change: ============
commit e9850aa41758a4bff6e2f572f341a004fa3cdd37 Author: U2FsdGVkX1 U2FsdGVkX1@gmail.com Date: Thu Feb 27 23:13:19 2025 +0800
Version 1.3.2
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7c6e121 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/omd-1.3.2.tar.gz diff --git a/README.md b/README.md index f0ffa86..276b2ea 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # ocaml-omd
-The ocaml-omd package +Omd is an OCaml library designed to parse, manipulate, and print +Markdown into different formats. In addition to the library, a +command-line tool omd is included to easily convert markdown into HTML. diff --git a/ocaml-omd.spec b/ocaml-omd.spec new file mode 100644 index 0000000..2225f2e --- /dev/null +++ b/ocaml-omd.spec @@ -0,0 +1,54 @@ +Name: ocaml-omd +Version: 1.3.2 +Release: %autorelease +Summary: Extensible Markdown library and tool in "pure OCaml" + +License: ISC +URL: https://github.com/ocaml/omd +Source0: https://github.com/ocaml/omd/archive/%%7Bversion%7D/omd-%%7Bversion%7D.tar.g... + +# OCaml packages not built on i686 since OCaml 5 / Fedora 39. +ExcludeArch: %{ix86} + +BuildRequires: help2man +BuildRequires: ocaml >= 4.04 +BuildRequires: ocaml-dune >= 2.7 +BuildRequires: ocaml-findlib + +%description +Omd is an OCaml library designed to parse, manipulate, and print +Markdown into different formats. In addition to the library, a +command-line tool omd is included to easily convert markdown into HTML. + +%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 omd-%{version} -p1 + +%build +%dune_build + +%install +%dune_install + +mkdir -p %{buildroot}%{_mandir}/man1 +help2man -N --version-string=%{version} -o %{buildroot}%{_mandir}/man1/omd.1 \ + -n 'Convert markdown to HTML' %{buildroot}%{_bindir}/omd + +%check +%dune_check + +%files -f .ofiles +%doc README.md CHANGES.md +%{_mandir}/man1/omd.1* + +%files devel -f .ofiles-devel + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..8656ecf --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (omd-1.3.2.tar.gz) = ec6c8a8baed4db5c0f4a986d87f09ba545d55e6d11ae91d5c787fe8a6e64c2e07c726e7d16cd0b341612d26c0ee9bd6136d926d545e852ba2a7eafe377228f24
arch-excludes@lists.fedoraproject.org