update to 4.90 [release 4.90-1mamba;Wed Mar 21 2018]
This commit is contained in:
parent
daeafc0543
commit
e8be056b66
22
lsof.spec
22
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 <aleph0@openmamba.org>
|
||||
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 <silvan.calarco@mambasoft.it> 4.90-1mamba
|
||||
- update to 4.90
|
||||
|
||||
* Sat Jul 18 2015 Automatic Build System <autodist@mambasoft.it> 4.89-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user