remove %{_bindir}/nc conflicting with netcat-openbsd [release 0.7.1-5mamba;Fri Feb 24 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:35:32 +01:00
parent b690de09bf
commit 6f5036b314

View File

@ -1,27 +1,29 @@
Name: netcat Name: netcat
Version: 0.7.1
Release: 3mamba
Epoch: 1 Epoch: 1
Version: 0.7.1
Release: 5mamba
Summary: Networking utility that manages TCP and UDP connections Summary: Networking utility that manages TCP and UDP connections
Group: Applications/Networking Group: Applications/Networking
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://netcat.sourceforge.net/ URL: https://netcat.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/netcat/netcat-%{version}.tar.bz2 Source: http://downloads.sourceforge.net/sourceforge/netcat/netcat-%{version}.tar.bz2
License: GPL License: GPL
Requires(post):%{__install_info}
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires(post):%{__install_info}
%description %description
Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol. Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.
It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
%debug_package
%prep %prep
%setup -q %setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build %build
%configure %configure
@ -32,6 +34,7 @@ It is designed to be a reliable "back-end" tool that can be used directly or eas
%makeinstall %makeinstall
rm -f doc/drafts/Makefile* rm -f doc/drafts/Makefile*
rm -f %{buildroot}%{_bindir}/nc
%find_lang %{name} %find_lang %{name}
@ -46,13 +49,19 @@ rm -f doc/drafts/Makefile*
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/nc
%{_bindir}/netcat %{_bindir}/netcat
%{_infodir}/%{name}.info.gz %{_infodir}/%{name}.info*
%{_mandir}/man1/* %{_mandir}/man1/*
%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/migration doc/drafts %doc AUTHORS COPYING
#ChangeLog NEWS README TODO doc/migration doc/drafts
%changelog %changelog
* Fri Feb 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-5mamba
- remove %{_bindir}/nc conflicting with netcat-openbsd
* Fri Feb 24 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-4mamba
- rebuilt with debug package
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 0.7.1-3mamba * Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 0.7.1-3mamba
- automatic rebuild by autodist - automatic rebuild by autodist