[packages/lsof] - updated to 4.89 - removed obsolete pipe-files patch

qboosh qboosh at pld-linux.org
Sun Jul 19 12:47:03 CEST 2015


commit 7e01f69c3df6439ae3052d629747f9075e184297
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 19 12:46:17 2015 +0200

    - updated to 4.89
    - removed obsolete pipe-files patch

 lsof-4.88-pipe-files.patch | 12 ------------
 lsof.spec                  | 18 +++++++-----------
 2 files changed, 7 insertions(+), 23 deletions(-)
---
diff --git a/lsof.spec b/lsof.spec
index 4f670fe..bec3569 100644
--- a/lsof.spec
+++ b/lsof.spec
@@ -5,13 +5,12 @@ Summary(pt_BR.UTF-8):	Lista os arquivos abertos pelos processos que estão rodan
 Summary(ru.UTF-8):	Показывает открытые процессами файлы
 Summary(uk.UTF-8):	Показує відкриті процесами файли
 Name:		lsof
-Version:	4.88
+Version:	4.89
 Release:	1
 License:	Free
 Group:		Applications/System
 Source0:	ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/%{name}_%{version}.tar.bz2
-# Source0-md5:	1b29c10db4aa88afcaeeaabeef6790db
-Patch0:		lsof-4.88-pipe-files.patch
+# Source0-md5:	1b9cd34f3fb86856a125abbf2be3a386
 URL:		http://people.freebsd.org/~abe/
 BuildRequires:	libselinux-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,14 +46,11 @@ Lsof - це скорочення від LiSt Open Files. Саме це прог
 робить - виводить інформацію про файли, відкриті працюючими процесами.
 
 %prep
-%setup -q -c
-cd %{name}_%{version}
+%setup -q -n %{name}_%{version}
 tar xf %{name}_%{version}_src.tar
-cd %{name}_%{version}_src
-%patch0 -p1
 
 %build
-cd %{name}_%{version}/%{name}_%{version}_src
+cd %{name}_%{version}_src
 
 LSOF_CC="%{__cc}"; export LSOF_CC
 ./Configure -n linux
@@ -65,7 +61,7 @@ LSOF_CC="%{__cc}"; export LSOF_CC
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
 
-cd %{name}_%{version}/%{name}_%{version}_src
+cd %{name}_%{version}_src
 
 install lsof $RPM_BUILD_ROOT%{_bindir}
 install lsof.8 $RPM_BUILD_ROOT%{_mandir}/man8
@@ -75,6 +71,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc %{name}_%{version}/{00*,README.*,RELEASE*} %{name}_%{version}/%{name}_%{version}_src/00*
+%doc {00*,README.*,RELEASE*} %{name}_%{version}_src/00*
 %attr(755,root,root) %{_bindir}/lsof
-%{_mandir}/man8/*
+%{_mandir}/man8/lsof.8*
diff --git a/lsof-4.88-pipe-files.patch b/lsof-4.88-pipe-files.patch
deleted file mode 100644
index 638e0a7..0000000
--- a/lsof-4.88-pipe-files.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -upr lsof_4.88-rh.orig/dialects/linux/dnode.c lsof_4.88-rh/dialects/linux/dnode.c
---- lsof_4.88-rh.orig/dialects/linux/dnode.c	2014-10-14 00:26:03.000000000 +0200
-+++ lsof_4.88-rh/dialects/linux/dnode.c	2015-01-05 19:57:05.562294509 +0100
-@@ -580,7 +580,7 @@ process_proc_node(p, pbr, s, ss, l, ls)
- 	    Lf->inp_ty = 1;
- 
- #if	defined(HASEPTOPTS)
--	    if (Lf->ntype == N_FIFO) {
-+	    if ((Lf->ntype == N_FIFO) && FpipeE) {
- 	    	(void) enter_pinfo();
- 		Lf->sf |= SELPINFO;
- 	    }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lsof.git/commitdiff/7e01f69c3df6439ae3052d629747f9075e184297



More information about the pld-cvs-commit mailing list