The package rpms/ocaml-pprint.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-pprint.git/commit/?id=35c467f2....
Change: +%ifnarch %{ocaml_native_compiler}
Thanks.
Full change: ============
commit 35c467f2d1253c3e0fa4422d3c424d102755728f Author: U2FsdGVkX1 U2FsdGVkX1@gmail.com Date: Thu Feb 27 23:34:43 2025 +0800
Version 20230830
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..615c832 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/pprint-20230830.tar.gz diff --git a/README.md b/README.md index 2ed2ca1..047f5a3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # ocaml-pprint
-The ocaml-pprint package +`PPrint` is an OCaml library for **pretty-printing textual documents**. It +takes care of **indentation and line breaks**, and is typically used to +**pretty-print code**. diff --git a/ocaml-pprint.spec b/ocaml-pprint.spec new file mode 100644 index 0000000..5a6ab6c --- /dev/null +++ b/ocaml-pprint.spec @@ -0,0 +1,52 @@ +Name: ocaml-pprint +Version: 20230830 +Release: %autorelease +Summary: A pretty-printing combinator library for OCaml + +License: LGPL-2.0-only WITH OCaml-LGPL-linking-exception +URL: https://github.com/fpottier/pprint +Source0: https://github.com/fpottier/pprint/archive/%%7Bversion%7D/pprint-%%7Bversion... + +# OCaml packages not built on i686 since OCaml 5 / Fedora 39. +ExcludeArch: %{ix86} + +BuildRequires: ocaml >= 4.03 +BuildRequires: ocaml-dune >= 1.3 + +%ifnarch %{ocaml_native_compiler} +%global debug_package %{nil} +%endif + +%description +PPrint is an OCaml library for pretty-printing textual documents. +It takes care of indentation and line breaks, +and is typically used to pretty-print code. + +%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 pprint-%{version} -p1 + +%build +%dune_build + +%install +%dune_install + +%check +dune exec test/PPrintTest.exe + +%files -f .ofiles +%license LICENSE +%doc README.md CHANGES.md AUTHORS.md + +%files devel -f .ofiles-devel + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..6a7bda5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pprint-20230830.tar.gz) = 7c58275cf9951283cf5051c2cf4c98084e8d562a8172a6379d9831a8fc95c9a19fc06710350217da2ea90fd2b17994142b10d1a9f8dab17b2bbf3e47e76c9f5f
arch-excludes@lists.fedoraproject.org