[packages/java-skype] - junit is also test dep
glen
glen at pld-linux.org
Sun Aug 19 17:45:39 CEST 2012
commit a7d1f451c8738db7e55aaeea4efa296c2a445ec2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Aug 19 18:45:37 2012 +0300
- junit is also test dep
java-skype.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/java-skype.spec b/java-skype.spec
index 16d98c4..cfbf609 100644
--- a/java-skype.spec
+++ b/java-skype.spec
@@ -14,16 +14,18 @@ Source0: https://github.com/taksan/skype-java-api/tarball/%{srcname}-%{version}/
# Source0-md5: 35de3010cb61e6e39544d8732fd0b958
Patch0: jni-link.patch
Patch1: tests-no-win32.patch
-%{?with_tests:BuildRequires: maven}
URL: http://taksan.github.com/skype-java-api/
BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel
BuildRequires: java-commons-lang >= 2.1
-BuildRequires: java-junit >= 3.8.2
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
BuildRequires: rpmbuild(macros) >= 1.553
BuildRequires: xorg-lib-libX11-devel
+%if %{with tests}
+BuildRequires: java-junit >= 3.8.2
+BuildRequires: maven
+%endif
Requires: jpackage-utils
# Not noarch, because we compile only specific platform and arch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
More information about the pld-cvs-commit
mailing list