rpms/gwenhywfar/devel gwen-open.patch, NONE, 1.1 gwenhywfar.spec, 1.24, 1.25

Bill Nottingham (notting) fedora-extras-commits at redhat.com
Wed Oct 10 19:53:34 UTC 2007


Author: notting

Update of /cvs/extras/rpms/gwenhywfar/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24894

Modified Files:
	gwenhywfar.spec 
Added Files:
	gwen-open.patch 
Log Message:
fix build, rebuild for buildid


gwen-open.patch:

--- NEW FILE gwen-open.patch ---
diff -up gwenhywfar-2.6.1/test/gwentest.c.foo gwenhywfar-2.6.1/test/gwentest.c
--- gwenhywfar-2.6.1/test/gwentest.c.foo	2007-09-26 15:59:42.000000000 -0400
+++ gwenhywfar-2.6.1/test/gwentest.c	2007-09-26 15:59:42.000000000 -0400
@@ -2926,7 +2926,7 @@ int testNlHttpConnect4(int argc, char **
   }
   fprintf(stderr, "Connected.\n");
 
-  fd=open(outFile, O_CREAT | O_WRONLY);
+  fd=open(outFile, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
   if (fd==-1) {
     fprintf(stderr, "Could not create outFile\n");
     return 2;
@@ -3213,7 +3213,7 @@ int testNlSslConnect2(int argc, char **a
   }
   fprintf(stderr, "Connected.\n");
 
-  fd=open(outFile, O_CREAT | O_WRONLY);
+  fd=open(outFile, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
   if (fd==-1) {
     fprintf(stderr, "Could not create outFile\n");
     return 2;
@@ -3467,7 +3467,7 @@ int testNlFileConnect1(int argc, char **
   }
   fprintf(stderr, "Connected.\n");
 
-  fd=open(outFile, O_CREAT | O_WRONLY);
+  fd=open(outFile, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR);
   if (fd==-1) {
     fprintf(stderr, "Could not create outFile\n");
     return 2;


Index: gwenhywfar.spec
===================================================================
RCS file: /cvs/extras/rpms/gwenhywfar/devel/gwenhywfar.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- gwenhywfar.spec	3 Aug 2007 18:52:15 -0000	1.24
+++ gwenhywfar.spec	10 Oct 2007 19:53:01 -0000	1.25
@@ -1,11 +1,12 @@
 Summary: A multi-platform helper library for other libraries
 Name: gwenhywfar
 Version: 2.6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source: http://download.sourceforge.net/gwenhywfar/%{name}-%{version}.tar.gz
 Group: System Environment/Libraries
 License: LGPLv2+
 Patch: gwenhywfar-2.3.0-pkgconfig.patch
+Patch2: gwen-open.patch
 URL: http://sourceforge.net/projects/gwenhywfar
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: openssl-devel gettext
@@ -31,6 +32,7 @@
 %setup -q
 # Port gwenhywfar-config to pkgconfig
 %patch -p1 -b .pkgconfig
+%patch2 -p1 -b .open
 
 %build
 %configure --disable-static --with-openssl-libs=%{_libdir}
@@ -78,6 +80,9 @@
 %{_datadir}/aclocal/gwenhywfar.m4
 
 %changelog
+* Wed Oct 10 2007 Bill Nottingham <notting at redhat.com> - 2.6.1-2
+- fix build, rebuild for buildid
+
 * Fri Aug  3 2007 Bill Nottingham <notting at redhat.com>
 - tweak license tag
 




More information about the fedora-extras-commits mailing list