remove /usr/sbin/ifconfig and route compatibility symlink before sbin to bin merge [release 2.10-3mamba;Tue Jul 11 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 07:35:17 +01:00
parent f115ec57bb
commit 7aff472f46

View File

@ -1,12 +1,12 @@
Name: net-tools Name: net-tools
Version: 2.10 Version: 2.10
Release: 2mamba Release: 3mamba
Summary: The basic tools for setting up networking. Summary: The basic tools for setting up networking.
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://freshmeat.net/projects/net-tools/ URL: https://sourceforge.net/directory/software-development/linux/
Source: https://github.com/ecki/net-tools.git/v%{version}/net-tools-%{version}.tar.bz2 Source: https://github.com/ecki/net-tools.git/v%{version}/net-tools-%{version}.tar.bz2
Source1: net-tools-1.60.20130916git-config.in Source1: net-tools-1.60.20130916git-config.in
Patch1: %{name}-1.60-miitool-gcc33-1.patch Patch1: %{name}-1.60-miitool-gcc33-1.patch
@ -59,8 +59,8 @@ yes "" | make \
AR=%{_target_platform}-ar AR=%{_target_platform}-ar
# compatibility symlinks # compatibility symlinks
ln -sf ../bin/route %{buildroot}%{_sbindir}/route #ln -sf ../bin/route %{buildroot}%{_sbindir}/route
ln -sf ../bin/ifconfig %{buildroot}%{_sbindir}/ifconfig #ln -sf ../bin/ifconfig %{buildroot}%{_sbindir}/ifconfig
# the following is provided by yp-tools # the following is provided by yp-tools
rm %{buildroot}%{_bindir}/{,nis,yp}domainname rm %{buildroot}%{_bindir}/{,nis,yp}domainname
@ -77,14 +77,12 @@ rm -f %{buildroot}%{_mandir}/man1/{,nis,yp}domainname*
%{_bindir}/netstat %{_bindir}/netstat
%{_bindir}/route %{_bindir}/route
%{_sbindir}/arp %{_sbindir}/arp
%{_sbindir}/ifconfig
%{_sbindir}/ipmaddr %{_sbindir}/ipmaddr
%{_sbindir}/iptunnel %{_sbindir}/iptunnel
%{_sbindir}/mii-tool %{_sbindir}/mii-tool
%{_sbindir}/nameif %{_sbindir}/nameif
%{_sbindir}/plipconfig %{_sbindir}/plipconfig
%{_sbindir}/rarp %{_sbindir}/rarp
%{_sbindir}/route
%{_sbindir}/slattach %{_sbindir}/slattach
%{_mandir}/man1/dnsdomainname.* %{_mandir}/man1/dnsdomainname.*
%{_mandir}/man1/hostname.1* %{_mandir}/man1/hostname.1*
@ -92,6 +90,9 @@ rm -f %{buildroot}%{_mandir}/man1/{,nis,yp}domainname*
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %changelog
* Tue Jul 11 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-3mamba
- remove /usr/sbin/ifconfig and route compatibility symlink before sbin to bin merge
* Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-2mamba * Sun Apr 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-2mamba
- remove *domainname files provides by yp-tools and require yp-tools - remove *domainname files provides by yp-tools and require yp-tools