public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ocaml-ppx-deriving-yaml] rawhide: Version 0.5.0
@ 2026-09-23 16:37 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-09-23 16:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ocaml-ppx-deriving-yaml
Branch : rawhide
Commit : 7abcffad37ed38860bc75a4e28dc3b22b7b36158
Author : Jerry James <loganjerry@gmail.com>
Date : 2026-09-23T10:37:10-06:00
Stats : +39/-8 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ocaml-ppx-deriving-yaml/c/7abcffad37ed38860bc75a4e28dc3b22b7b36158?branch=rawhide
Log:
Version 0.5.0
- New ocaml-ppx-deriving-yamlx package
---
diff --git a/ocaml-ppx-deriving-yaml.spec b/ocaml-ppx-deriving-yaml.spec
index 6dd523f..d1bbdf0 100644
--- a/ocaml-ppx-deriving-yaml.spec
+++ b/ocaml-ppx-deriving-yaml.spec
@@ -3,7 +3,7 @@
%endif
Name: ocaml-ppx-deriving-yaml
-Version: 0.4.1
+Version: 0.5.0
Release: %autorelease
Summary: Derive conversion functions between OCaml types and YAML
@@ -16,17 +16,18 @@ Source: %{url}/releases/download/v%{version}/ppx_deriving_yaml-%{version
ExcludeArch: %{ix86}
BuildSystem: dune
-BuildOption(build): -p ppx_deriving_yaml
-BuildOption(install): ppx_deriving_yaml
-BuildOption(check): -p ppx_deriving_yaml
+BuildOption(build): -p ppx_deriving_yaml,ppx_deriving_yamlx
+BuildOption(install): -s ppx_deriving_yaml ppx_deriving_yamlx
+BuildOption(check): -p ppx_deriving_yaml,ppx_deriving_yamlx
BuildRequires: ocaml >= 4.08.1
BuildRequires: ocaml-alcotest-devel
-BuildRequires: ocaml-dune >= 3.14
+BuildRequires: ocaml-dune >= 3.21
BuildRequires: ocaml-mdx-devel >= 2.4.1
BuildRequires: ocaml-ppx-deriving-devel
BuildRequires: ocaml-ppxlib-devel >= 0.36.0
BuildRequires: ocaml-yaml-devel
+BuildRequires: ocaml-yamlx-devel >= 0.5.0
%description
This ppx is based on ppx_yojson [1] and ppx_deriving_yojson [2] because of the
@@ -49,14 +50,44 @@ Requires: ocaml-yaml-devel%{?_isa}
The %{name}-devel package contains libraries and signature
files for developing applications that use %{name}.
+%package -n %{name}x
+Summary: Derive conversion functions between OCaml types and YAML with YAMLx
+
+%description -n %{name}x
+This ppx is based on ppx_yojson [1] and ppx_deriving_yojson [2] because of the
+many similarities between JSON and yaml. In particular many of the ways OCaml
+values are encoded to yaml types are the same as those implemented by the
+Yojson ppx. This package uses ocaml-yamlx instead of ocaml-yaml.
+
+References:
+[1] https://github.com/NathanReb/ppx_yojson
+[2] https://github.com/ocaml-ppx/ppx_deriving_yojson
+
+%package -n %{name}x-devel
+Summary: Development files for %{name}
+Requires: %{name}x%{?_isa} = %{version}-%{release}
+Requires: ocaml-ppx-deriving-devel%{?_isa}
+Requires: ocaml-ppxlib-devel%{?_isa}
+Requires: ocaml-yamlx-devel%{?_isa}
+
+%description -n %{name}x-devel
+The %{name}x-devel package contains libraries and signature
+files for developing applications that use %{name}x.
+
%prep
%autosetup -n ppx_deriving_yaml-%{version}
-%files -f .ofiles
+%files -f .ofiles-ppx_deriving_yaml
+%license LICENSE.md
+%doc README.md CHANGES.md
+
+%files devel -f .ofiles-ppx_deriving_yaml-devel
+
+%files -n %{name}x -f .ofiles-ppx_deriving_yamlx
%license LICENSE.md
%doc README.md CHANGES.md
-%files devel -f .ofiles-devel
+%files -n %{name}x-devel -f .ofiles-ppx_deriving_yamlx-devel
%changelog
%autochangelog
diff --git a/sources b/sources
index bad94bd..cb703db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ppx_deriving_yaml-0.4.1.tbz) = da2801971d93a2c19196d724e08883c87dd1025f5491e54ccef81b26a9f133872d2c195065092bd2d753f78748065b0db6801a58cbbc0d5bbfcbdbe9509196f4
+SHA512 (ppx_deriving_yaml-0.5.0.tbz) = 326a597fc8d53fc6ab8dcbf3f534239ce0fc0823380f5c11da75b5c3b55d47f7206db5648113070bef2bd668da37f60f70b7bb42ea6ec99d8209fddbc0edd2a0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 16:37 [rpms/ocaml-ppx-deriving-yaml] rawhide: Version 0.5.0 Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox