[mono-debugger] Change paths for mono assemblies according to updated packaging guidelines (http://fedoraproject.org
Christian Krause
chkr at fedoraproject.org
Sat Nov 12 11:03:11 UTC 2011
commit 4d9c967f57483a4ba0a8caad73aa8437deabd706
Author: Christian Krause <chkr at fedoraproject.org>
Date: Sat Nov 12 12:03:06 2011 +0100
Change paths for mono assemblies according to updated packaging
guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
mdb-2.6-build.patch | 19 -------------------
mdb-2.6-configure.patch | 11 -----------
mdb-2.6-doc.patch | 32 --------------------------------
mono-debugger.spec | 31 ++++++++++++-------------------
4 files changed, 12 insertions(+), 81 deletions(-)
---
diff --git a/mono-debugger.spec b/mono-debugger.spec
index 8b4f8cf..a53be47 100644
--- a/mono-debugger.spec
+++ b/mono-debugger.spec
@@ -1,16 +1,13 @@
Summary: A debugger for Mono
Name: mono-debugger
Version: 2.10
-Release: 1%{?dist}
+Release: 2%{?dist}
License: MIT
URL: http://www.mono-project.com/Main_Page
Source0: http://ftp.novell.com/pub/mono/sources/%{name}/%{name}-%{version}.tar.bz2
-Patch0: mdb-2.6-configure.patch
-Patch1: mdb-2.6-build.patch
-Patch2: mdb-2.6-doc.patch
BuildRequires: readline-devel ncurses-devel libtool
BuildRequires: mono-devel >= 2.8.1 mono-nunit
-BuildRequires: mono-nunit-devel autoconf automake xsp-devel
+BuildRequires: mono-nunit-devel xsp-devel
Requires: mono-core >= 2.8.1
Group: Development/Tools
# Mono only available on these:
@@ -37,18 +34,10 @@ Development package for mono-debugger
%prep
%setup -q
rm -rf build/*.dll
-%patch0 -p1 -b .config
-%patch1 -p1 -b .build
-%patch2 -p1 -b .doc
-
-sed -i -e 's!/usr/lib!%{_libdir}!g' mono-debugger-frontend.pc.in
-sed -i -e 's!${prefix}/lib/!%{_libdir}/!g' mono-debugger-frontend.pc.in
-sed -i -e 's!${prefix}/lib/!%{_libdir}/!g' mono-debugger.pc.in
# Copy something that we know got built from source.
# This doesn't end up in the package, though.
-cp %{_libdir}/mono/gac/Mono.Cecil/*/Mono.Cecil.dll build/
-autoreconf -f -i -s
+cp %{_prefix}/lib/mono/gac/Mono.Cecil/*/Mono.Cecil.dll build/
%build
%configure --disable-static --disable-dependency-tracking
@@ -69,11 +58,11 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%{_bindir}/mdb
%{_bindir}/mdb-symbol*
%{_libdir}/*.so*
-%{_libdir}/mono/2.0/mdb*
-%{_libdir}/mono/gac/Mono.Debugger/
-%{_libdir}/mono/gac/Mono.Debugger.SymbolWriter/
-%{_libdir}/mono/gac/Mono.Debugger.Frontend/
-%{_libdir}/mono/mono-debugger/
+%{_prefix}/lib/mono/2.0/mdb*
+%{_prefix}/lib/mono/gac/Mono.Debugger/
+%{_prefix}/lib/mono/gac/Mono.Debugger.SymbolWriter/
+%{_prefix}/lib/mono/gac/Mono.Debugger.Frontend/
+%{_prefix}/lib/mono/mono-debugger/
%files devel
%defattr(-,root,root,-)
@@ -81,6 +70,10 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
%{_libdir}/pkgconfig/mono-debugger-frontend.pc
%changelog
+* Sat Nov 12 2011 Christian Krause <chkr at fedoraproject.org> - 2.10-2
+- Change paths for mono assemblies according to updated packaging
+ guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
+
* Wed Mar 30 2011 Christian Krause <chkr at fedoraproject.org> - 2.10-1
- Update to 2.10
- Minor spec file cleanup
More information about the scm-commits
mailing list