[packages/llvm] - ocaml-ounit is only need ed for tests - rel 3

baggins baggins at pld-linux.org
Sun Mar 28 09:54:43 CEST 2021


commit 85ae1a1822128e104ed22dfeb57a54b759ce234f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Mar 28 09:54:02 2021 +0200

    - ocaml-ounit is only need ed for tests
    - rel 3

 llvm.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index a6dce5f..6b5c82f 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -43,7 +43,7 @@ Summary:	The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
 Summary(pl.UTF-8):	Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
 Name:		llvm
 Version:	11.0.1
-Release:	2
+Release:	3
 License:	University of Illinois/NCSA Open Source License
 Group:		Development/Languages
 #Source0Download: https://github.com/llvm/llvm-project/releases/
@@ -90,7 +90,7 @@ BuildRequires:	ocaml >= 4.00.0
 BuildRequires:	ocaml-ctypes-devel >= 0.4
 BuildRequires:	ocaml-findlib
 BuildRequires:	ocaml-ocamldoc
-BuildRequires:	ocaml-ounit >= 2
+%{?with_tests:BuildRequires:	ocaml-ounit >= 2}
 %endif
 BuildRequires:	perl-base >= 1:5.6
 BuildRequires:	perl-tools-pod
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/85ae1a1822128e104ed22dfeb57a54b759ce234f



More information about the pld-cvs-commit mailing list