[gtk-sharp2] Minor spec file cleanup Rebuilt against mono 2.10

chkr chkr at fedoraproject.org
Sun Mar 27 22:28:21 UTC 2011


commit 6dfef8359f1d23016c749f3ec899178c0d5b99e5
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Mon Mar 28 00:28:14 2011 +0200

    Minor spec file cleanup
    Rebuilt against mono 2.10

 gtk-sharp2.spec |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/gtk-sharp2.spec b/gtk-sharp2.spec
index c69b4bb..58b82b9 100644
--- a/gtk-sharp2.spec
+++ b/gtk-sharp2.spec
@@ -1,13 +1,12 @@
 Name:           gtk-sharp2
 Version:        2.12.10
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        GTK+ and GNOME bindings for Mono
 
 Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://www.mono-project.com/GtkSharp
 Source0:        http://ftp.novell.com/pub/mono/sources/gtk-sharp212/gtk-sharp-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch0:         gtk-sharp2-2.10.3-libdir.patch
 
 BuildRequires:  mono-devel gtk2-devel libglade2-devel monodoc
@@ -73,16 +72,12 @@ export MONO_CAIRO_LIBS="-r:%{_libdir}/mono/2.0/Mono.Cairo.dll"
 make
 
 %install
-%{__rm} -rf $RPM_BUILD_ROOT
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gtk-sharp-2.0 /gacdir %{_libdir} /root ${RPM_BUILD_ROOT}%{_libdir}"
 
 #Remove libtool archive
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.*a
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -117,6 +112,10 @@ make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gtk-sharp-2.0 /gacd
 %{_libdir}/monodoc/sources/*
 
 %changelog
+* Mon Mar 28 2011 Christian Krause <chkr at fedoraproject.org> - 2.12.10-7
+- Minor spec file cleanup
+- Rebuilt against mono 2.10
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.12.10-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list