SPECS: g-wrap.spec - added srfi-35-fixes patch (to use srfi-35 in ...

qboosh qboosh at pld-linux.org
Mon Nov 26 23:19:56 CET 2007


Author: qboosh                       Date: Mon Nov 26 22:19:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added srfi-35-fixes patch (to use srfi-35 in proper way)
- switched to srfi-35 included in guile >= 1.8.3
- release 2

---- Files affected:
SPECS:
   g-wrap.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/g-wrap.spec
diff -u SPECS/g-wrap.spec:1.57 SPECS/g-wrap.spec:1.58
--- SPECS/g-wrap.spec:1.57	Tue Oct  9 17:31:11 2007
+++ SPECS/g-wrap.spec	Mon Nov 26 23:19:51 2007
@@ -4,23 +4,24 @@
 Summary(pt_BR.UTF-8):	Um utilitário para geração automática de código para exportar bibliotecas C para guile scheme e rscheme
 Name:		g-wrap
 Version:	1.9.9
-Release:	1
+Release:	2
 Epoch:		2
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://download.savannah.gnu.org/releases/g-wrap/%{name}-%{version}.tar.gz
 # Source0-md5:	9014d7ed8d395ff335a6a4bf5778ed4e
 Patch0:		%{name}-info.patch
+Patch1:		%{name}-srfi-35-fixes.patch
 URL:		http://www.nongnu.org/g-wrap/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1.5
 BuildRequires:	glib2-devel >= 2.0
-BuildRequires:	guile-devel >= 5:1.8
+BuildRequires:	guile-devel >= 5:1.8.3
 BuildRequires:	libffi-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
 BuildRequires:	texinfo
-Requires:	guile > 5:1.8
+Requires:	guile >= 5:1.8.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -74,6 +75,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p0
 
 %build
 %{__libtoolize}
@@ -92,9 +94,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# not installed if already available (i.e. older g-wrap already installed!)
-install -D srfi/srfi-35.scm $RPM_BUILD_ROOT%{_datadir}/guile/site/srfi-35.scm
-
 rm -f $RPM_BUILD_ROOT%{_libdir}/g-wrap/modules/libgw-*.{a,la}
 
 %clean
@@ -120,7 +119,6 @@
 %attr(755,root,root) %{_libdir}/g-wrap/modules/libgw-guile-standard.so*
 %{_datadir}/guile/site/g-wrap
 %{_datadir}/guile/site/g-wrap.scm
-%{_datadir}/guile/site/srfi-35.scm
 %{_infodir}/g-wrap.info*
 
 %files devel
@@ -146,6 +144,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2007-11-26 22:19:51  qboosh
+- added srfi-35-fixes patch (to use srfi-35 in proper way)
+- switched to srfi-35 included in guile >= 1.8.3
+- release 2
+
 Revision 1.57  2007-10-09 15:31:11  baggins
 - s/enviroment/environment/
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/g-wrap.spec?r1=1.57&r2=1.58&f=u



More information about the pld-cvs-commit mailing list