SPECS: mono.spec - handle rpm mono provides/requires - rel 2

wolf wolf at pld-linux.org
Thu Aug 11 20:23:30 CEST 2005


Author: wolf                         Date: Thu Aug 11 18:23:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- handle rpm mono provides/requires
- rel 2

---- Files affected:
SPECS:
   mono.spec (1.130 -> 1.131) 

---- Diffs:

================================================================
Index: SPECS/mono.spec
diff -u SPECS/mono.spec:1.130 SPECS/mono.spec:1.131
--- SPECS/mono.spec:1.130	Thu Aug 11 19:52:36 2005
+++ SPECS/mono.spec	Thu Aug 11 20:23:24 2005
@@ -3,13 +3,20 @@
 # Conditional build:
 %bcond_without	nptl		# don't use TLS (which effectively requires NPTL libs)
 %bcond_without	static_libs	# don't build static libraries
+%bcond_with	bootstrap	# don't require mono-devel to find req/prov
 #
 %define		_glibver	2.4
+#
+%if ! %{with bootstrap}
+%define	__mono_provides	/usr/bin/mono-find-provides
+%define	__mono_requires	/usr/bin/mono-find-requires
+%endif
+#
 Summary:	Common Language Infrastructure implementation
 Summary(pl):	Implementacja Common Language Infrastructure
 Name:		mono
 Version:	1.1.8.3
-Release:	1
+Release:	2
 License:	GPL/LGPL/MIT
 Group:		Development/Languages
 #Source0Download: http://www.mono-project.com/Downloads
@@ -27,7 +34,9 @@
 BuildRequires:	glib2-devel >= %{_glibver}
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	rpm-build >= 4.4.2-0.3
 BuildRequires:	rpmbuild(macros) >= 1.213
+%{!?with_bootstrap:BuildRequires:	mono-devel}
 ExclusiveArch:	%{ix86} %{x8664} arm hppa ppc s390 s390x sparc sparcv9 sparc64
 # alpha still broken, mips/ia64/m68k disabled in configure
 # note: plain i386 is not supported; mono uses cmpxchg/xadd which require i486
@@ -410,6 +419,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.131  2005/08/11 18:23:24  wolf
+- handle rpm mono provides/requires
+- rel 2
+
 Revision 1.130  2005/08/11 17:52:36  wolf
 - use bash for bash scripts
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mono.spec?r1=1.130&r2=1.131&f=u




More information about the pld-cvs-commit mailing list