rpms/ntfs-3g/devel ntfs-3g-1.2216-nomtab.patch, NONE, 1.1 ntfs-3g.spec, 1.27, 1.28

Tom Callaway (spot) fedora-extras-commits at redhat.com
Mon Mar 10 19:07:13 UTC 2008


Author: spot

Update of /cvs/extras/rpms/ntfs-3g/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20204

Modified Files:
	ntfs-3g.spec 
Added Files:
	ntfs-3g-1.2216-nomtab.patch 
Log Message:
1.2310

ntfs-3g-1.2216-nomtab.patch:

--- NEW FILE ntfs-3g-1.2216-nomtab.patch ---
diff -up ntfs-3g-1.2216/src/ntfs-3g.c.BAD ntfs-3g-1.2216/src/ntfs-3g.c
--- ntfs-3g-1.2216/src/ntfs-3g.c.BAD	2008-02-27 11:40:33.000000000 -0500
+++ ntfs-3g-1.2216/src/ntfs-3g.c	2008-02-27 13:17:57.000000000 -0500
@@ -1947,10 +1947,11 @@ static int parse_options(int argc, char 
 {
 	int c;
 
-	static const char *sopt = "-o:hv";
+	static const char *sopt = "-o:hnv";
 	static const struct option lopt[] = {
 		{ "options",	 required_argument,	NULL, 'o' },
 		{ "help",	 no_argument,		NULL, 'h' },
+		{ "nomtab",	 no_argument,		NULL, 'n' },
 		{ "verbose",	 no_argument,		NULL, 'v' },
 		{ NULL,		 0,			NULL,  0  }
 	};
@@ -1989,6 +1990,11 @@ static int parse_options(int argc, char 
 			if (strappend(&opts.options, optarg))
 				return -1;
 			break;
+		case 'n':
+			/* We must handle the 'nomtab' option even if
+			 * we don't use it because mount(8) passes it.
+			 */
+			break;
 		case 'h':
 			usage();
 			exit(9);


Index: ntfs-3g.spec
===================================================================
RCS file: /cvs/extras/rpms/ntfs-3g/devel/ntfs-3g.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ntfs-3g.spec	26 Feb 2008 19:19:11 -0000	1.27
+++ ntfs-3g.spec	10 Mar 2008 19:06:20 -0000	1.28
@@ -4,11 +4,12 @@
 
 Name:		ntfs-3g
 Summary: 	Linux NTFS userspace driver 
-Version:	1.2216
-Release:	3%{?dist}
+Version:	1.2310
+Release:	1%{?dist}
 License:	GPLv2+
 Group:		System Environment/Base
 Source0:	http://www.ntfs-3g.org/%{name}-%{version}.tgz
+Patch0:		ntfs-3g-1.2216-nomtab.patch
 URL:		http://www.ntfs-3g.org/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 %if %{with_externalfuse}
@@ -46,6 +47,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
 CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
@@ -102,7 +104,8 @@
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING CREDITS NEWS README
+# COPYING disappeared in 1.2310
+%doc AUTHORS ChangeLog CREDITS NEWS README
 /sbin/mount.ntfs
 %attr(754,root,root) /sbin/mount.ntfs-3g
 /sbin/mount.ntfs-fuse
@@ -121,6 +124,10 @@
 %{_libdir}/pkgconfig/libntfs-3g.pc
 
 %changelog
+* Mon Mar 10 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:1.2310-1
+- update to 1.2310
+- make -n a noop (bz 403291)
+
 * Tue Feb 26 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:1.2216-3
 - rebuild against fixed gcc (PR35264, bugzilla 433546)
 




More information about the fedora-extras-commits mailing list