forked from pool/ocaml-cppo
Accepting request 672630 from home:onthewings:branches:devel:languages:ocaml
Remove ocaml-cppo-1.6.1-install-args.patch and directly call dune in the install section. OBS-URL: https://build.opensuse.org/request/show/672630 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-cppo?expand=0&rev=42
This commit is contained in:
parent
16dd8e41d9
commit
07cfc11f6b
@ -1,12 +0,0 @@
|
|||||||
diff -up ocaml-cppo-1.6.1/Makefile.orig ocaml-cppo-1.6.1/Makefile
|
|
||||||
--- ocaml-cppo-1.6.1/Makefile.orig 2018-01-31 23:28:37.944255913 +0100
|
|
||||||
+++ ocaml-cppo-1.6.1/Makefile 2018-01-31 23:28:49.284256383 +0100
|
|
||||||
@@ -5,7 +5,7 @@ test:
|
|
||||||
@jbuilder runtest
|
|
||||||
|
|
||||||
install:
|
|
||||||
- @jbuilder install
|
|
||||||
+ @jbuilder install $(INSTALL_ARGS)
|
|
||||||
|
|
||||||
uninstall:
|
|
||||||
@jbuilder uninstall
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 8 01:35:59 UTC 2019 - andy@onthewings.net
|
||||||
|
|
||||||
|
- Remove ocaml-cppo-1.6.1-install-args.patch and directly call dune
|
||||||
|
in the install section.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 5 18:39:39 UTC 2019 - andy@onthewings.net
|
Tue Feb 5 18:39:39 UTC 2019 - andy@onthewings.net
|
||||||
|
|
||||||
|
@ -31,8 +31,6 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/OCaml
|
Group: Development/Languages/OCaml
|
||||||
Url: https://github.com/ocaml-community/cppo
|
Url: https://github.com/ocaml-community/cppo
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
# PATCH-FIX-UPSTEAM ocaml-cppo-1.6.1-install-args.patch -- Allows to pass buildroot to opam-installer
|
|
||||||
Patch: ocaml-cppo-1.6.1-install-args.patch
|
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-dune
|
BuildRequires: ocaml-dune
|
||||||
BuildRequires: ocaml-ocamldoc
|
BuildRequires: ocaml-ocamldoc
|
||||||
@ -69,7 +67,6 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
dune build @install --profile release
|
dune build @install --profile release
|
||||||
@ -77,7 +74,7 @@ dune build @install --profile release
|
|||||||
%install
|
%install
|
||||||
%if %{with opam}
|
%if %{with opam}
|
||||||
install -d %{buildroot}%{_libdir}/ocaml
|
install -d %{buildroot}%{_libdir}/ocaml
|
||||||
%make_install INSTALL_ARGS="--prefix=%{buildroot}%{_prefix} --libdir=%{buildroot}%{_libdir}/ocaml"
|
dune install --prefix=%{buildroot}%{_prefix} --libdir=%{buildroot}%{_libdir}/ocaml
|
||||||
rm -r %{buildroot}%{_prefix}/doc
|
rm -r %{buildroot}%{_prefix}/doc
|
||||||
%else
|
%else
|
||||||
# By hand, not funny
|
# By hand, not funny
|
||||||
|
Loading…
Reference in New Issue
Block a user