File project.diff of Package ocaml-bigstringaf

--- _service.orig
+++ _service
@@ -2,6 +2,7 @@
   <service name="tar_scm" mode="disabled">
     <param name="filename">ocaml-bigstringaf</param>
     <param name="scm">git</param>
+    <param name="revision">refs/tags/0.9.1</param>
     <param name="submodules">disable</param>
     <param name="url">https://github.com/inhabitedtype/bigstringaf.git</param>
     <param name="versionformat">@PARENT_TAG@</param>
--- ocaml-bigstringaf.changes.orig
+++ ocaml-bigstringaf.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Sun Aug 27 07:32:11 UTC 2023 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
+
+- Update to version 0.9.1
+
+-------------------------------------------------------------------
 Sun Jan  8 09:48:35 UTC 2023 - Klaus Kämpf <kkaempf@suse.com>
 
 - Initial version 0.4.0
--- ocaml-bigstringaf.spec.orig
+++ ocaml-bigstringaf.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-bigstringaf
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,19 @@
 
 
 Name:           ocaml-bigstringaf
-Version:        0.4.0
+Version:        0.9.1
 Release:        0
-%{?ocaml_preserve_bytecode}
 Summary:        Bigstring intrinsics and fast blits based on memcpy/memmove
 License:        BSD-3-clause
 Group:          Development/Languages/OCaml
 URL:            https://github.com/inhabitedtype/bigstringaf
-Source:         %name-%version.tar.xz
+Source:         %{name}-%{version}.tar.xz
+BuildRequires:  ocaml(ocaml_base_version) >= 4.04
 BuildRequires:  ocaml-dune
 BuildRequires:  ocaml-rpm-macros >= 20220222
-BuildRequires:  ocaml(ocaml_base_version) >= 4.04
 BuildRequires:  ocamlfind(alcotest)
 BuildRequires:  ocamlfind(dune)
+%{?ocaml_preserve_bytecode}
 
 %description
 Bigstring intrinsics and fast blits based on memcpy/memmove
@@ -39,32 +39,32 @@ The OCaml compiler has a bunch of intrin
 So here they are. Go crazy.
 
 %package        devel
-Summary:        Development files for %name
+Summary:        Development files for %{name}
 Group:          Development/Languages/OCaml
-Requires:       %name = %version
+Requires:       %{name} = %{version}
 
 %description    devel
-The %name-devel package contains libraries and signature files for
-developing applications that use %name.
+The %{name}-devel package contains libraries and signature files for
+developing applications that use %{name}.
 
 %prep
 %autosetup -p1
 
 %build
 dune_release_pkgs='bigstringaf'
-%ocaml_dune_setup
-%ocaml_dune_build
+%{ocaml_dune_setup}
+%{ocaml_dune_build}
 
 %install
-%ocaml_dune_install
-%ocaml_create_file_list
+%{ocaml_dune_install}
+%{ocaml_create_file_list}
 
 %check
 dune_test_tolerate_fail='dune_test_tolerate_fail ... '
-%ocaml_dune_test
+%{ocaml_dune_test}
 
-%files -f %name.files
+%files -f %{name}.files
 
-%files devel -f %name.files.devel
+%files devel -f %{name}.files.devel
 
 %changelog
openSUSE Build Service is sponsored by