rpms/surf/devel surf.spec,1.2,1.3

Simon Wesp cassmodiah at fedoraproject.org
Tue Mar 23 21:08:09 UTC 2010


Author: cassmodiah

Update of /cvs/pkgs/rpms/surf/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv18275

Modified Files:
	surf.spec 
Log Message:
* Tue Mar 23 2010 Simon Wesp <cassmodiah at fedoraproject.org> - 0.3-3
- patching DSO



Index: surf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/surf/devel/surf.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- surf.spec	17 Jan 2010 11:40:29 -0000	1.2
+++ surf.spec	23 Mar 2010 21:08:09 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           surf
 Version:        0.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Simple web browser
 
 Group:          Applications/Internet
@@ -22,11 +22,17 @@ surf is a simple web browser based on We
 %prep
 %setup -q
 
-sed -e 's|/usr/local|%{_prefix}|g' \
-    -e 's|/usr/lib|%{_libdir}|g' \
-    -e 's|-s ${LIBS}|-g ${LIBS}|g' \
-    -e 's|-std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}|%{optflags} ${INCS} ${CPPFLAGS}|g' \
-    -i config.mk
+# Thanks to Robert Scheck for the DSO-patch
+# https://bugzilla.redhat.com/attachment.cgi?id=402128
+# I decided to include this in the sed chain below
+
+sed \
+  -e 's|/usr/local|%{_prefix}|g' \
+  -e 's|/usr/lib|%{_libdir}|g' \
+  -e 's|-s ${LIBS}|-g ${LIBS}|g' \
+  -e 's|-std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}|%{optflags} ${INCS} ${CPPFLAGS}|g' \
+  -e 's|LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0|LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 -lX11|g' \
+  -i config.mk
 
 sed -i 's!^\(\t\+\)@!\1!' Makefile
 
@@ -59,6 +65,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Mar 23 2010 Simon Wesp <cassmodiah at fedoraproject.org> - 0.3-3
+- patching DSO
+
 * Sun Jan 17 2010 Simon Wesp <cassmodiah at fedoraproject.org> - 0.3-2
 - Output is verbose now
 



More information about the scm-commits mailing list