[antlr] Disable .net for rhel builds.

Alexander Kurtakov akurtakov at fedoraproject.org
Fri Jan 27 14:41:25 UTC 2012


commit 71cb96d74c5bd33b237848837dd838f065f494b2
Author: Alexander Kurtakov < <akurtako at redhat.com>
Date:   Fri Jan 27 16:41:13 2012 +0200

    Disable .net for rhel builds.

 antlr.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/antlr.spec b/antlr.spec
index 00473f3..3adc3e5 100644
--- a/antlr.spec
+++ b/antlr.spec
@@ -4,7 +4,7 @@
 Summary:		ANother Tool for Language Recognition
 Name:			antlr
 Version:		2.7.7
-Release:		17%{?dist}
+Release:		18%{?dist}
 Epoch:			0
 License:		Public Domain
 URL:			http://www.antlr.org/
@@ -16,9 +16,11 @@ Patch1:			%{name}-%{version}-newgcc.patch
 BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
 %ifarch %ix86 x86_64 ia64 armv4l sparcv9 alpha s390x ppc ppc64
+%if ! 0%{?rhel} >= 6
 BuildRequires:	mono-core
 BuildRequires:	mono-winforms
 %endif
+%endif
 BuildRequires:	ant
 BuildRequires:	java-javadoc
 BuildRequires:	jpackage-utils
@@ -191,6 +193,9 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitelib}/antlr-*
 
 %changelog
+* Fri Jan 27 2012 Alexander Kurtakov <akurtako at redhat.com> 0:2.7.7-18
+- Disable c# part for rhel builds.
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:2.7.7-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list