SPECS: antlr.spec - Fixed dotnet bcond

adgor adgor at pld-linux.org
Wed Jan 25 02:05:12 CET 2006


Author: adgor                        Date: Wed Jan 25 01:05:12 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Fixed dotnet bcond

---- Files affected:
SPECS:
   antlr.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/antlr.spec
diff -u SPECS/antlr.spec:1.31 SPECS/antlr.spec:1.32
--- SPECS/antlr.spec:1.31	Sun Nov 27 02:37:56 2005
+++ SPECS/antlr.spec	Wed Jan 25 02:05:06 2006
@@ -3,13 +3,12 @@
 #  *  add python bcond
 #  *  add an axamples subpackage (and python-examples as well)
 #
-#
-%include	/usr/lib/rpm/macros.mono
-#
 # Conditional build:
 %bcond_without	gcj	# use javac instead of GCJ
 %bcond_without	dotnet	# don't build .NET modules
 #
+%{?with_dotnet:%include	/usr/lib/rpm/macros.mono}
+#
 Summary:	ANother Tool for Language Recognition
 Summary(pl):	Jeszcze jedno narzędzie do rozpoznawania języka
 Name:		antlr
@@ -107,7 +106,8 @@
 	$RPM_BUILD_ROOT%{_javadir}
 install $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/*.py \
 	$RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
-install lib/*.dll $RPM_BUILD_ROOT%{_prefix}/lib/mono/%{name}
+
+%{?with_dotnet:install lib/*.dll $RPM_BUILD_ROOT%{_prefix}/lib/mono/%{name}}
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}
@@ -144,6 +144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2006/01/25 01:05:06  adgor
+- Fixed dotnet bcond
+
 Revision 1.31  2005/11/27 01:37:56  pluto
 - fix mono R:/P:.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/antlr.spec?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list