rpms/jfsutils/devel jfsutils-fix-open.patch, NONE, 1.1 jfsutils.spec, 1.18, 1.19
Joshua W. Boyer (jwboyer)
fedora-extras-commits at redhat.com
Fri Aug 24 02:51:46 UTC 2007
Author: jwboyer
Update of /cvs/pkgs/rpms/jfsutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31987
Modified Files:
jfsutils.spec
Added Files:
jfsutils-fix-open.patch
Log Message:
* Wed Aug 22 2007 Josh Boyer <hwboyer at jdub.homelinux.org> - 1.1.11-2
- Add patch to fix open call
jfsutils-fix-open.patch:
--- NEW FILE jfsutils-fix-open.patch ---
Index: jfsutils-1.1.11/libfs/fssubs.c
===================================================================
--- jfsutils-1.1.11.orig/libfs/fssubs.c
+++ jfsutils-1.1.11/libfs/fssubs.c
@@ -59,7 +59,7 @@ int Is_Root_Mounted_RO()
#define TEST_FILE "/.ismount-test-file"
- fd = open(TEST_FILE, O_RDWR | O_CREAT);
+ fd = open(TEST_FILE, O_RDWR | O_CREAT, 0644);
if (fd < 0) {
if (errno == EROFS)
Index: jfsutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/jfsutils/devel/jfsutils.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- jfsutils.spec 3 Aug 2007 19:25:24 -0000 1.18
+++ jfsutils.spec 24 Aug 2007 02:51:12 -0000 1.19
@@ -1,13 +1,14 @@
Summary: Utilities for managing the JFS filesystem.
Name: jfsutils
Version: 1.1.11
-Release: 1
+Release: 2
Source0: jfsutils-%{version}.tar.gz
URL: http://jfs.sourceforge.net/
Group: System Environment/Base
License: GPLv2+
Buildroot: %{_tmppath}/%{name}-root
Buildrequires: e2fsprogs-devel
+Patch0: jfsutils-fix-open.patch
%description
The jfsutils package contains a number of utilities for creating,
@@ -23,6 +24,7 @@
%prep
%setup -q
+%patch0 -p1
%build
CFLAGS="${RPM_OPT_FLAGS}" ./configure --mandir=%{_mandir}
@@ -44,6 +46,9 @@
%doc AUTHORS COPYING INSTALL NEWS README ChangeLog
%changelog
+* Wed Aug 22 2007 Josh Boyer <hwboyer at jdub.homelinux.org> - 1.1.11-2
+- Add patch to fix open call
+
* Fri Aug 03 2007 Josh Boyer <jwboyer at jdub.homelinux.org> - 1.1.11-1
- Update license field
More information about the fedora-extras-commits
mailing list