rpms/openais/devel openais-0.80.1-open-fix.patch, NONE, 1.1 openais.spec, 1.20, 1.21

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Feb 29 19:26:50 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/openais/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21239

Modified Files:
	openais.spec 
Added Files:
	openais-0.80.1-open-fix.patch 
Log Message:
fix glibc open issue

openais-0.80.1-open-fix.patch:

--- NEW FILE openais-0.80.1-open-fix.patch ---
diff -up openais-0.80.1/exec/keygen.c.BAD openais-0.80.1/exec/keygen.c
--- openais-0.80.1/exec/keygen.c.BAD	2008-02-29 13:46:22.000000000 -0500
+++ openais-0.80.1/exec/keygen.c	2008-02-29 13:51:05.000000000 -0500
@@ -72,7 +72,7 @@ int main (void) {
 	/*
 	 * Open key
 	 */
-	authkey_fd = open ("/etc/ais/authkey", O_CREAT|O_WRONLY);
+	authkey_fd = open ("/etc/ais/authkey", O_CREAT|O_WRONLY, 0666);
 	if (authkey_fd == -1) {
 		perror ("Could not create /etc/ais/authkey");
 		exit (1);


Index: openais.spec
===================================================================
RCS file: /cvs/pkgs/rpms/openais/devel/openais.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- openais.spec	19 Feb 2008 23:30:45 -0000	1.20
+++ openais.spec	29 Feb 2008 19:26:16 -0000	1.21
@@ -1,7 +1,7 @@
 Name: openais
 Summary: The openais Standards-Based Cluster Framework executive and APIs
 Version: 0.80.1
-Release: 7
+Release: 8
 License: BSD
 Group: System Environment/Base
 URL: http://developer.osdl.org/dev/openais/
@@ -22,8 +22,8 @@
 Patch13: revision-1263.patch
 Patch14: revision-1264.patch
 Patch15: revision-1265.patch
+Patch16: openais-0.80.1-open-fix.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: i386 ppc x86_64 ppc64 ia64 s390 s390x
 Requires(pre): /usr/sbin/useradd
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/chkconfig
@@ -61,6 +61,7 @@
 %patch13
 %patch14
 %patch15
+%patch16 -p1
 
 %build
 # -O3 required for performance reasons
@@ -194,6 +195,10 @@
 %{_mandir}/man3/evs_membership_get.3*
 
 %changelog
+* Fri Feb 29 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.80.1-8
+- Drop list of ExclusiveArch, if something is broken, ExcludeArch it.
+- fix open glibc issue
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.80.1-7
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list