rpms/gtk-sharp/devel gtk-sharp.spec,1.4,1.5

Paul F. Johnson (pfj) fedora-extras-commits at redhat.com
Wed May 7 10:00:25 UTC 2008


Author: pfj

Update of /cvs/pkgs/rpms/gtk-sharp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6555/devel

Modified Files:
	gtk-sharp.spec 
Log Message:

Build fix 



Index: gtk-sharp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk-sharp/devel/gtk-sharp.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gtk-sharp.spec	19 Feb 2008 18:48:54 -0000	1.4
+++ gtk-sharp.spec	7 May 2008 09:59:49 -0000	1.5
@@ -1,8 +1,4 @@
-%if "%{?fedora}" == "5"
-%define monodir %{_prefix}/lib
-%else
 %define monodir %{_libdir}
-%endif
 
 Name: gtk-sharp
 Version: 1.0.10
@@ -14,9 +10,7 @@
 Source0: http://go-mono.com/sources/%{name}/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch0:	gtksharp-libdir.patch
-%if "%{?fedora}" > "5"
 BuildRequires: libtool autoconf automake
-%endif
 BuildRequires:  mono-devel libxml2-devel libgnomeui-devel
 BuildRequires:  librsvg2-devel gtkhtml3-devel vte-devel
 
@@ -56,15 +50,14 @@
 
 %prep
 %setup -q -n gtk-sharp-%{version}
-%if "%{?fedora}" > "5"
 %patch0 -p1 -b .libdir
-autoreconf
-%endif
+#autoreconf -f -i -s
+autoconf
 chmod 644 HACKING
 chmod 644 glib/glue/error.c
 
 %build
-%configure --disable-gda --disable-gnomedb --libdir=%{monodir}
+%configure --disable-gda --disable-gnomedb --libdir=%{monodir} --disable-static
 make %{?_smp_mflags}
 
 %install
@@ -90,7 +83,7 @@
 %{monodir}/mono/gac/glib-sharp/1*/
 %{monodir}/mono/gac/gnome-sharp/1*/
 %{monodir}/mono/gac/pango-sharp/1*/
-%{monodir}/mono/gac/rsvg-sharp/1*/
+#%{monodir}/mono/gac/rsvg-sharp/1*/
 %{monodir}/mono/gac/vte-sharp/1*/
 %{monodir}/mono/gtk-sharp/
 
@@ -109,8 +102,8 @@
 %{monodir}/pkgconfig/gapi.pc
 
 %changelog
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.0.10-13
-- Autorebuild for GCC 4.3
+* Tue May 06 2008 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.0.10-13
+- rebuild
 
 * Fri Oct 27 2006 Paul F. Johnson <paul at all-the-johnsons.co.uk> 1.0.10-12
 - rebuild




More information about the fedora-extras-commits mailing list