rpms/gdbm/devel gdbm.spec,1.32,1.33
Karel Klíč
kklic at fedoraproject.org
Mon Apr 12 14:09:10 UTC 2010
- Previous message: rpms/PyQwt/F-11 PyQwt.spec,1.6,1.7
- Next message: rpms/sat4j/F-13 .cvsignore, 1.5, 1.6 sat4j-fetch.sh, 1.3, 1.4 sat4j.spec, 1.11, 1.12 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kklic
Update of /cvs/pkgs/rpms/gdbm/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26274
Modified Files:
gdbm.spec
Log Message:
Use fcntl instead of flock for locking to make nfs safe
Index: gdbm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdbm/devel/gdbm.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -p -r1.32 -r1.33
--- gdbm.spec 11 Mar 2010 15:56:40 -0000 1.32
+++ gdbm.spec 12 Apr 2010 14:09:08 -0000 1.33
@@ -1,7 +1,7 @@
Summary: A GNU set of database routines which use extensible hashing
Name: gdbm
Version: 1.8.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# Prevent gdbm from storing uninitialized memory content
# to database files.
@@ -61,6 +61,14 @@ autoconf
%build
%configure --disable-static
+
+# flock does not work on nfs
+# fcntl should be used instead of it
+# see `man 2 flock`
+# rhbz#477300
+echo "/* We use fcntl locking (POSIX) instead of flock (BSD) */" >> autoconf.h
+echo "#undef HAVE_FLOCK" >> autoconf.h
+
make
%install
@@ -103,6 +111,9 @@ fi
rm -rf ${RPM_BUILD_ROOT}
%changelog
+* Mon Apr 12 2010 Karel Klic <kklic at redhat.com> - 1.8.3-6
+- Use fcntl instead of flock for locking to make nfs safe (#477300)
+
* Thu Mar 11 2010 Karel Klic <kklic at redhat.com> - 1.8.3-5
- Removed fake Provides: libgdbm.so.2 and corresponding symlinks
- Moved autoconf, libtoolize from %%build to %%prep section
- Previous message: rpms/PyQwt/F-11 PyQwt.spec,1.6,1.7
- Next message: rpms/sat4j/F-13 .cvsignore, 1.5, 1.6 sat4j-fetch.sh, 1.3, 1.4 sat4j.spec, 1.11, 1.12 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list