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

Elan Ruusamäe glen at delfi.ee
Thu Aug 11 20:38:21 CEST 2005


why thse are in /usr/bin, while other similiar scripts are in /usr/lib/rpm?

$ l /usr/lib/rpm/find-*-{provides,requires}
-rwxr-xr-x  1 root root 514 Jul  7 02:12 /usr/lib/rpm/find-php-provides
-rwxr-xr-x  1 root root 871 Jul  7 02:12 /usr/lib/rpm/find-php-requires


On Thursday 11 August 2005 21:23, wolf wrote:
> 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
>
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

-- 
glen



More information about the pld-devel-en mailing list