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
|
Name: lsof
|
||||||
Version: 4.89
|
Version: 4.90
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Lists open files for running UNIX processes
|
Summary: Lists open files for running UNIX processes
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
@ -7,11 +7,16 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Aleph0 <aleph0@openmamba.org>
|
Packager: Aleph0 <aleph0@openmamba.org>
|
||||||
URL: http://people.freebsd.org/~abe/
|
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 from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/patches/%{version}/linux.patch
|
||||||
Patch: %{name}-4.77-linux.patch
|
Patch: %{name}-4.77-linux.patch
|
||||||
License: no OSI Approved
|
License: no OSI Approved
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
|
BuildRequires: libtirpc-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lsof is a Unix-specific diagnostic tool.
|
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.
|
It can also list communications open by each process.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}_%{version}
|
%setup -q -n %{name}_%{version}_src
|
||||||
tar -xf %{name}_%{version}_src.tar
|
#cd %{name}_%{version}_src/dialects/linux
|
||||||
cd %{name}_%{version}_src/dialects/linux
|
|
||||||
#% patch -p2
|
#% patch -p2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd %{name}_%{version}_src
|
|
||||||
|
|
||||||
chmod 644 dialects/linux/machine.h &&
|
chmod 644 dialects/linux/machine.h &&
|
||||||
echo "
|
echo "
|
||||||
#undef HASSECURITY
|
#undef HASSECURITY
|
||||||
@ -51,7 +53,6 @@ make DEBUG="" CDEF="%{optflags}" CFGL="-L./lib -llsof -lselinux -ltirpc"
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
cd %{name}_%{version}_src
|
|
||||||
|
|
||||||
install -D -m755 %{name} %{buildroot}%{_bindir}/%{name}
|
install -D -m755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||||
install -D -m644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
|
install -D -m644 %{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8
|
||||||
@ -69,9 +70,12 @@ done
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man8/%{name}.*
|
%{_mandir}/man8/%{name}.*
|
||||||
%doc %{name}_%{version}_src/%{name}_docs/*
|
%doc %{name}_docs/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 18 2015 Automatic Build System <autodist@mambasoft.it> 4.89-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user