diff --git a/_service b/_service new file mode 100644 index 0000000..8ec6179 --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + ocaml-result + + 5f7f1a4423ca3b9db4b4048d561f31fd6bfd9ab0 + git + disable + https://github.com/janestreet/result.git + @PARENT_TAG@ + + + *.tar + xz + + + diff --git a/ocaml-result-1.4.tar.xz b/ocaml-result-1.4.tar.xz new file mode 100644 index 0000000..4002f98 --- /dev/null +++ b/ocaml-result-1.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47307bbfaebb9b72402e0c3649aa07f8024986710e3c6b78e20414a291bfbb3f +size 2124 diff --git a/ocaml-result.changes b/ocaml-result.changes index 5ea4f1f..15b27ec 100644 --- a/ocaml-result.changes +++ b/ocaml-result.changes @@ -2,6 +2,7 @@ Fri Nov 1 12:34:56 UTC 2019 - ohering@suse.de - Require current dune macros +- Use _service file ------------------------------------------------------------------- Mon Sep 30 12:34:56 UTC 2019 - ohering@suse.de diff --git a/ocaml-result.spec b/ocaml-result.spec index 37e43c4..da5c998 100644 --- a/ocaml-result.spec +++ b/ocaml-result.spec @@ -16,7 +16,6 @@ # -%define _name result Name: ocaml-result Version: 1.4 Release: 0 @@ -25,7 +24,7 @@ Summary: Compatibility OCaml Result module License: BSD-3-Clause Group: Development/Languages/OCaml Url: https://github.com/janestreet/result -Source0: %{url}/archive/%{version}/%{_name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.xz BuildRequires: ocaml BuildRequires: ocaml-dune BuildRequires: ocaml-rpm-macros >= 20191101 @@ -48,7 +47,7 @@ defined in this library. This package contains development files for %{name}. %prep -%setup -q -n %{_name}-%{version} +%autosetup -p1 %build dune_release_pkgs='result' @@ -63,7 +62,6 @@ dune_release_pkgs='result' %ocaml_dune_test %files -f %{name}.files -%doc README.md %files devel -f %{name}.files.devel diff --git a/result-1.4.tar.gz b/result-1.4.tar.gz deleted file mode 100644 index 0ed057e..0000000 --- a/result-1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:167029f0d0475106200697f3dffda20b2462a345fe35b449fe86f1f92db354b2 -size 2314