Change-Id: I6acb475e49d58bafaaabbb2ebbb77a4313f7d15e
Reviewed-on: http://photon-jenkins.eng.vmware.com/633
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,12 @@ |
0 |
+diff -ru psmisc-22.21/src/fuser.c psmisc-22.21-modified/src/fuser.c |
|
1 |
+--- psmisc-22.21/src/fuser.c 2014-01-31 05:07:32.000000000 -0800 |
|
2 |
+@@ -1174,7 +1174,7 @@ |
|
3 |
+ usage(_("No process specification given")); |
|
4 |
+ |
|
5 |
+ /* Check if -M flag was used and if so check mounts */ |
|
6 |
+- if (opts * OPT_ISMOUNTPOINT) { |
|
7 |
++ if (opts & OPT_ISMOUNTPOINT) { |
|
8 |
+ check_mountpoints(&mounts, &names_head, &names_tail); |
|
9 |
+ } |
|
10 |
+ |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Displays information about running processes |
2 | 2 |
Name: psmisc |
3 | 3 |
Version: 22.21 |
4 |
-Release: 1%{?dist} |
|
4 |
+Release: 2%{?dist} |
|
5 | 5 |
License: GPLv2+ |
6 | 6 |
URL: http://psmisc.sourceforge.net/ |
7 | 7 |
Group: Applications/System |
... | ... |
@@ -11,11 +11,13 @@ Source0: http://prdownloads.sourceforge.net/psmisc/%{name}-%{version}.tar.gz |
11 | 11 |
%define sha1 psmisc=09fabbef4539b58b6b8738a73da3d21d5daa1a58 |
12 | 12 |
BuildRequires: ncurses-devel |
13 | 13 |
Requires: ncurses |
14 |
+Patch0: fuser_typo.patch |
|
14 | 15 |
%description |
15 | 16 |
The Psmisc package contains programs for displaying information |
16 | 17 |
about running processes. |
17 | 18 |
%prep |
18 | 19 |
%setup -q |
20 |
+%patch0 -p1 |
|
19 | 21 |
%build |
20 | 22 |
./configure \ |
21 | 23 |
--prefix=%{_prefix} |
... | ... |
@@ -34,6 +36,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck} |
34 | 34 |
%{_bindir}/* |
35 | 35 |
%{_mandir}/*/* |
36 | 36 |
%changelog |
37 |
+* Fri Mar 11 2016 Kumar Kaushik <kaushikk@vmware.com> 22.21-2 |
|
38 |
+- Adding patch for type in fuser binary. |
|
37 | 39 |
* Tue Jan 12 2016 Anish Swaminathan <anishs@vmware.com> 22.21-1 |
38 | 40 |
- Update version |
39 | 41 |
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 22.20-1 |