- Use _service file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-result?expand=0&rev=15
This commit is contained in:
parent
a7952255b4
commit
440f29b0a0
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="filename">ocaml-result</param>
|
||||
<!-- 1.4 -->
|
||||
<param name="revision">5f7f1a4423ca3b9db4b4048d561f31fd6bfd9ab0</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/janestreet/result.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
3
ocaml-result-1.4.tar.xz
Normal file
3
ocaml-result-1.4.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47307bbfaebb9b72402e0c3649aa07f8024986710e3c6b78e20414a291bfbb3f
|
||||
size 2124
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:167029f0d0475106200697f3dffda20b2462a345fe35b449fe86f1f92db354b2
|
||||
size 2314
|
Loading…
Reference in New Issue
Block a user