rpms/eject/devel eject-2.1.5-umount.patch, 1.2, 1.3 eject.spec, 1.35, 1.36

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Fri Mar 21 00:47:32 UTC 2008


Author: jkeating

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

Modified Files:
	eject-2.1.5-umount.patch eject.spec 
Log Message:
* Thu Mar 20 2008 Jesse Keating <jkeating at redhat.com> - 2.1.5-10
- Fix the patch again now that sysfs makes things in /sys/block symlinks.


eject-2.1.5-umount.patch:

Index: eject-2.1.5-umount.patch
===================================================================
RCS file: /cvs/pkgs/rpms/eject/devel/eject-2.1.5-umount.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- eject-2.1.5-umount.patch	17 Mar 2008 15:28:47 -0000	1.2
+++ eject-2.1.5-umount.patch	21 Mar 2008 00:47:22 -0000	1.3
@@ -30,7 +30,7 @@
 +		return NULL;
 +	}
 +	while ((d = readdir(dir)) != NULL) { 
-+		if (d->d_type != DT_DIR && d->d_type != DT_UNKNOWN)
++		if (d->d_type != DT_DIR && d->d_type != DT_LNK && d->d_type != DT_UNKNOWN)
 +			continue;
 +		len = strlen(d->d_name);
 +		if (!strncmp(baseName, d->d_name, len)) {


Index: eject.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eject/devel/eject.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- eject.spec	17 Mar 2008 15:28:47 -0000	1.35
+++ eject.spec	21 Mar 2008 00:47:22 -0000	1.36
@@ -1,7 +1,7 @@
 Summary: A program that ejects removable media using software control.
 Name: eject
 Version: 2.1.5
-Release: 9%{dist}
+Release: 10%{dist}
 License: GPL
 Group: System Environment/Base
 Source: http://metalab.unc.edu/pub/Linux/utils/disk-management/%{name}-%{version}.tar.gz
@@ -76,6 +76,9 @@
 %{_mandir}/man1/*
 
 %changelog
+* Thu Mar 20 2008 Jesse Keating <jkeating at redhat.com> - 2.1.5-10
+- Fix the patch again now that sysfs makes things in /sys/block symlinks.
+
 * Mon Mar 17 2008 Zdenek Prikryl <zprikryl at redhat.com> 2.1.5-9
 - Rewriten patch for removable flag
 - Resolves #437362




More information about the fedora-extras-commits mailing list