- Fix upgrade path F12 -> F13 by obsoleting and providing mono-moonlight
- Minor spec file cleanup
This commit is contained in:
parent
db642f03fe
commit
63b0cd3b15
22
mono.spec
22
mono.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: mono
|
||||
Version: 2.6.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A .NET runtime environment
|
||||
|
||||
Group: Development/Languages
|
||||
@ -10,13 +10,13 @@ License: MIT
|
||||
URL: http://www.mono-project.com/Main_Page
|
||||
# Prereleases are available here
|
||||
# http://mono.ximian.com/monobuild/preview/sources-preview/
|
||||
Source0: http://mono.ximian.com/monobuild/snapshot/sources-trunk/%name-%version.tar.bz2
|
||||
Source0: http://ftp.novell.com/pub/mono/sources/mono/mono-%{version}.tar.bz2
|
||||
Source1: monodir.c
|
||||
# This key was generated by Tom "spot" Callaway <tcallawa@redhat.com> on Dec 1, 2009
|
||||
# by running the following command:
|
||||
# sn -k mono.snk
|
||||
# You should not regenerate this unless you have a really, really, really good reason.
|
||||
Source2: mono.snk
|
||||
Source2: mono.snk
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: bison
|
||||
@ -31,7 +31,6 @@ BuildRequires: libunwind-devel
|
||||
%endif
|
||||
# Required for mono-libdir.patch
|
||||
BuildRequires: automake libtool gettext-devel
|
||||
Obsoletes: monodoc, monodoc-devel
|
||||
|
||||
# Yes, mono actually depends on itself, because
|
||||
# we deleted the bootstrapping binaries. If you
|
||||
@ -62,6 +61,8 @@ metadata access libraries.
|
||||
Summary: The Mono CIL runtime, suitable for running .NET code
|
||||
Group: Development/Languages
|
||||
Requires: libgdiplus
|
||||
Obsoletes: mono-moonlight < 2.6
|
||||
Provides: mono-moonlight = %{version}-%{release}
|
||||
|
||||
%description core
|
||||
This package contains the core of the Mono runtime including its
|
||||
@ -268,13 +269,13 @@ Requires: mono-core = %{version}-%{release}
|
||||
Development file for monodoc
|
||||
|
||||
%package mono-4-preview
|
||||
Summary: Provides preview code for C# 4
|
||||
Group: Development/Languages
|
||||
Requires: mono-core = %{version}-%{release}
|
||||
Summary: Provides preview code for C# 4
|
||||
Group: Development/Languages
|
||||
Requires: mono-core = %{version}-%{release}
|
||||
|
||||
%description mono-4-preview
|
||||
Preview for the new C# 4.0 code
|
||||
|
||||
|
||||
%define monodir %{_libdir}/mono
|
||||
%define gac_dll(dll) %{monodir}/gac/%{1} \
|
||||
%{monodir}/?.0/%{1}.dll \
|
||||
@ -753,6 +754,7 @@ install -p -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
|
||||
%{_libdir}/pkgconfig/monodoc.pc
|
||||
|
||||
%files mono-4-preview
|
||||
%defattr (-, root, root)
|
||||
%config (noreplace) %{_sysconfdir}/mono/4.0/*.config
|
||||
%config (noreplace) %{_sysconfdir}/mono/4.0/settings.map
|
||||
%dir %{monodir}/4.0
|
||||
@ -766,6 +768,10 @@ install -p -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pki/mono/
|
||||
%gac_dll System.Dynamic
|
||||
|
||||
%changelog
|
||||
* Mon Feb 22 2010 Christian Krause <chkr@fedoraproject.org> - 2.6.1-2
|
||||
- Fix upgrade path F12 -> F13 by obsoleting and providing mono-moonlight
|
||||
- Minor spec file cleanup
|
||||
|
||||
* Mon Dec 21 2009 Paul F. Johnson <paul@all-the-johnsons.co.uk> 2.6.1-1
|
||||
- Minor fixes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user