From e8be056b665577f362ba42417a96cf33120fba79 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:30:26 +0100 Subject: [PATCH] update to 4.90 [release 4.90-1mamba;Wed Mar 21 2018] --- lsof.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/lsof.spec b/lsof.spec index ef72b68..91fa3fd 100644 --- a/lsof.spec +++ b/lsof.spec @@ -1,5 +1,5 @@ Name: lsof -Version: 4.89 +Version: 4.90 Release: 1mamba Summary: Lists open files for running UNIX processes Group: System/Tools @@ -7,11 +7,16 @@ Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: http://people.freebsd.org/~abe/ -Source: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_%{version}.tar.bz2 +Source: https://fossies.org/linux/misc/lsof_%{version}_src.tar.bz2 #Patch from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/patches/%{version}/linux.patch Patch: %{name}-4.77-linux.patch License: no OSI Approved BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libselinux-devel +BuildRequires: libtirpc-devel +## AUTOBUILDREQ-END %description Lsof is a Unix-specific diagnostic tool. @@ -20,14 +25,11 @@ It lists information about any files that are open by processes currently runnin It can also list communications open by each process. %prep -%setup -q -n %{name}_%{version} -tar -xf %{name}_%{version}_src.tar -cd %{name}_%{version}_src/dialects/linux +%setup -q -n %{name}_%{version}_src +#cd %{name}_%{version}_src/dialects/linux #% patch -p2 %build -cd %{name}_%{version}_src - chmod 644 dialects/linux/machine.h && echo " #undef HASSECURITY @@ -51,7 +53,6 @@ make DEBUG="" CDEF="%{optflags}" CFGL="-L./lib -llsof -lselinux -ltirpc" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -cd %{name}_%{version}_src install -D -m755 %{name} %{buildroot}%{_bindir}/%{name} install -D -m644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8 @@ -69,9 +70,12 @@ done %defattr(-,root,root) %{_bindir}/%{name} %{_mandir}/man8/%{name}.* -%doc %{name}_%{version}_src/%{name}_docs/* +%doc %{name}_docs/* %changelog +* Wed Mar 21 2018 Silvan Calarco 4.90-1mamba +- update to 4.90 + * Sat Jul 18 2015 Automatic Build System 4.89-1mamba - automatic version update by autodist