]> git.pld-linux.org Git - packages/wb.git/commitdiff
- fixed install without dotnet; added java bcond
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Jul 2016 19:15:32 +0000 (21:15 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 29 Jul 2016 19:15:32 +0000 (21:15 +0200)
wb.spec

diff --git a/wb.spec b/wb.spec
index 430738eda1727cb1c69077c6ee1f5bbfb73aa842..e2f1648afd6e67456d8e833964676f590f067616 100644 (file)
--- a/wb.spec
+++ b/wb.spec
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without dotnet  # C# package
+%bcond_without java    # Java package
 #
 %ifnarch %{ix86} %{x8664} arm aarch64 ia64 mips ppc ppc64 s390x sparc sparcv9 sparc64
 %undefine      with_dotnet
@@ -116,7 +117,7 @@ Biblioteka WB dla Javy.
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} installc install-info %{?with_dotnet:installdll} %{?with_java:installjar} \
        DESTDIR=$RPM_BUILD_ROOT
 
 # let rpm autogenerate dependencies
@@ -161,6 +162,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/Wb.dll
 %endif
 
+%if %{with java}
 %files -n java-wb
 %defattr(644,root,root,755)
 %{_javadir}/wb.jar
+%endif
This page took 0.076806 seconds and 4 git commands to generate.