diff --git a/gwenhywfar.changes b/gwenhywfar.changes index 8ba8213..87e91c7 100644 --- a/gwenhywfar.changes +++ b/gwenhywfar.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 24 11:32:18 CET 2008 - coolo@suse.de + +- fixing open call + ------------------------------------------------------------------- Fri Nov 9 06:17:34 CET 2007 - crrodriguez@suse.de diff --git a/gwenhywfar.diff b/gwenhywfar.diff new file mode 100644 index 0000000..75dca64 --- /dev/null +++ b/gwenhywfar.diff @@ -0,0 +1,29 @@ +--- test/gwentest.c.orig 2008-01-24 11:28:26.000000000 +0100 ++++ test/gwentest.c 2008-01-24 11:29:16.000000000 +0100 +@@ -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, 0600); + 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,0600); + 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, 0600); + if (fd==-1) { + fprintf(stderr, "Could not create outFile\n"); + return 2; diff --git a/gwenhywfar.spec b/gwenhywfar.spec index 3109102..33cfaca 100644 --- a/gwenhywfar.spec +++ b/gwenhywfar.spec @@ -1,7 +1,7 @@ # # spec file for package gwenhywfar (Version 2.6.2) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -13,12 +13,13 @@ Name: gwenhywfar BuildRequires: doxygen graphviz graphviz-gd libopenssl-devel libxml2-devel pkg-config xorg-x11-fonts Version: 2.6.2 -Release: 1 +Release: 21 Url: http://gwenhywfar.sourceforge.net/ Group: System/Libraries License: LGPL v2.1 or later Summary: A Multiplatform Helper Library for Other Libraries Source: %{name}-%{version}.tar.bz2 +Patch0: gwenhywfar.diff Requires: libgwenhywfar38 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -79,6 +80,7 @@ Authors: %prep %setup -q +%patch0 %build autoreconf -f -i @@ -135,14 +137,17 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/gwenhywfar.pc + %changelog -* Fri Nov 09 2007 - crrodriguez@suse.de +* Thu Jan 24 2008 coolo@suse.de +- fixing open call +* Fri Nov 09 2007 crrodriguez@suse.de - update to version 2.6.2 * Release is only interesting for windows or NetBSD users - disable static libraries - remove "la" files - remove unnedded dependency on libopenssl-devel in the -devel package -* Fri Jul 27 2007 - sbrabec@suse.cz +* Fri Jul 27 2007 sbrabec@suse.cz - Updated to version 2.6.1: * Minor bugs have been fixed. * Cross-compiling is now supported. @@ -152,24 +157,24 @@ rm -rf $RPM_BUILD_ROOT - Split package according to shared library packaging policy. - Build with libxml2. - Build and create api docs. -* Mon Oct 02 2006 - sbrabec@suse.cz +* Mon Oct 02 2006 sbrabec@suse.cz - Updated to version 2.4.1: * bug fixes * removed debugging messages * clean up the API -* Fri Sep 15 2006 - jhargadon@suse.de +* Fri Sep 15 2006 jhargadon@suse.de - update to version 2.4.0 - This release adds GWEN_DBIO plugin which writes GWEN_DB's as XML files -* Tue Jun 20 2006 - stbinner@suse.de +* Tue Jun 20 2006 stbinner@suse.de - Update to version 2.3.0: * Adds a new module for fast lookup of objects via integer IDs. * Adds a storage module to be used by further projects. -* Thu May 11 2006 - sbrabec@suse.cz +* Thu May 11 2006 sbrabec@suse.cz - Updated to version 2.2.0. -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Jan 16 2006 - sbrabec@suse.cz +* Mon Jan 16 2006 sbrabec@suse.cz - Updated to version 1.19.2. -* Wed Oct 19 2005 - sbrabec@suse.cz +* Wed Oct 19 2005 sbrabec@suse.cz - New SuSE package, version 1.18.0. Based on spec file from Rajesh Singh .