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

chkr chkr at fedoraproject.org
Mon Mar 28 09:56:35 UTC 2011


commit 0a31025f93204c21061f8d3d65aa6d90278cd228
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Mon Mar 28 11:56:26 2011 +0200

    Rebuilt against mono 2.10
    Minor spec file cleanup

 gecko-sharp2.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/gecko-sharp2.spec b/gecko-sharp2.spec
index a31a180..7a611d4 100644
--- a/gecko-sharp2.spec
+++ b/gecko-sharp2.spec
@@ -1,15 +1,14 @@
 Name:           gecko-sharp2
 Version:        0.13
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Gecko bindings for Mono
 
 Group:          System Environment/Libraries
 License:        MPLv1.1 or LGPLv2+
 URL:            http://www.mono-project.com/
 Source0:        http://ftp.novell.com/pub/mono/sources/gecko-sharp2/gecko-sharp-2.0-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Patch0: 	gecko-sharp-2.0-0.12-xulrunner.patch
+Patch0:         gecko-sharp-2.0-0.12-xulrunner.patch
 
 BuildRequires:  gtk-sharp2-devel
 BuildRequires:  gtk2-devel
@@ -40,7 +39,7 @@ This package provides the necessary development libraries and headers
 for writing gecko-sharp2 applications.
 
 %prep
-%setup -n gecko-sharp-2.0-%{version}
+%setup -q -n gecko-sharp-2.0-%{version}
 %patch0 -p1 -b .xl
 
 find . -name Makefile.in -or -name \*.pc.in \
@@ -60,13 +59,9 @@ export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
 make install DESTDIR=$RPM_BUILD_ROOT GACUTIL_FLAGS="/package gecko-sharp-2.0 /gacdir %{_libdir} /root ${RPM_BUILD_ROOT}%{_libdir}"
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc COPYING ChangeLog README
@@ -79,6 +74,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/*-sharp-2.0.pc
 
 %changelog
+* Mon Mar 28 2011 Christian Krause <chkr at fedoraproject.org> - 0.13-20
+- Rebuilt against mono 2.10
+- Minor spec file cleanup
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.13-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list