[jna] Fix ant-trax and ant-nodeps BR on RHEL

Mikolaj Izdebski mizdebsk at fedoraproject.org
Fri Jun 28 14:02:28 UTC 2013


commit 90d9291de21bff531e99f3d7bae180011bea26ae
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Fri Jun 28 16:01:16 2013 +0200

    Fix ant-trax and ant-nodeps BR on RHEL

 jna.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/jna.spec b/jna.spec
index 208f26d..2f90604 100644
--- a/jna.spec
+++ b/jna.spec
@@ -1,6 +1,6 @@
 Name:           jna
 Version:        3.5.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Pure Java access to native libraries
 
 Group:          Development/Libraries
@@ -37,7 +37,7 @@ Requires(post):	jpackage-utils
 Requires(postun): jpackage-utils
 BuildRequires:  java-devel, jpackage-utils, libffi-devel
 BuildRequires:  ant, ant-junit, junit
-%if 0%{?rhel}
+%if 0%{?rhel} < 7
 BuildRequires:	ant-nodeps, ant-trax
 %endif
 BuildRequires:  libX11-devel, libXt-devel
@@ -208,6 +208,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.5.2-2
+- Fix ant-trax and ant-nodeps BR on RHEL
+
 * Thu Apr 25 2013 Levente Farkas <lfarkas at lfarkas.org> - 3.5.2-1
 - Update to 3.5.2
 


More information about the scm-commits mailing list