automatic version update by autodist [release 5.12.0-1mamba;Wed Apr 28 2021]

This commit is contained in:
Automatic Build System 2024-01-05 23:57:20 +01:00
parent cd3ec9418f
commit 2a8b639434

View File

@ -3,7 +3,7 @@
%define pckdocdir %{_datadir}/doc/iproute-%{version}
Name: iproute
Version: 5.11.0
Version: 5.12.0
Release: 1mamba
Summary: Advanced routing tools including ipv6 routing
Group: Network/Routing
@ -24,7 +24,6 @@ License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: iptables-devel
BuildRequires: ldconfig
BuildRequires: libatm-devel
BuildRequires: libbsd-devel
BuildRequires: libcap-devel
@ -59,12 +58,7 @@ This package contain the iproute2 documentation in dvi and html formats.
%prep
%setup -q -n iproute2-%{version}%{?extraver!="-"}
#%patch1 -p1 -b .makefile
#%patch2 -p1 -b .ip_resolve_crash
#%patch3 -p1 -b .tc_pfifo_man
#%patch4 -p1
%patch5 -p1
#%patch6 -p1
%build
%make \
@ -95,12 +89,6 @@ This package contain the iproute2 documentation in dvi and html formats.
#install -D -m 0644 %{S:2} \
# %{buildroot}%{_sysconfdir}/sysconfig/traffic_control
install -d %{buildroot}/sbin
mv %{buildroot}%{_sbindir}/ip %{buildroot}/sbin
mv %{buildroot}%{_sbindir}/ifcfg %{buildroot}/sbin
mv %{buildroot}%{_sbindir}/rtmon %{buildroot}/sbin
mv %{buildroot}%{_sbindir}/tc %{buildroot}/sbin
# remove unpackaged files
rm -f %{buildroot}%{pckdocdir}/*.tex
rm -f %{buildroot}%{pckdocdir}/*.sgml
@ -108,52 +96,12 @@ rm -f %{buildroot}%{pckdocdir}/*.sgml
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#% preun
#if [ $1 -eq 0 ]; then
## erase
# /sbin/chkconfig tc
# if [ $? -eq 0 ]; then
# /sbin/service tc stop
# /sbin/chkconfig --del tc
# fi
#fi
#exit 0
#% postun
#if [ $1 -eq 1 ]; then
## upgrade
# /sbin/chkconfig tc
# [ $? -eq 0 ] && /sbin/service tc restart
#fi
#exit 0
%files
%defattr(-,root,root)
#%config(noreplace) %{_sysconfdir}/sysconfig/traffic_control
%dir %{_sysconfdir}/iproute2
%config %{_sysconfdir}/iproute2/*
#%{_initrddir}/tc
/sbin/ifcfg
/sbin/ip
/sbin/tc
/sbin/rtmon
%{_sbindir}/arpd
%{_sbindir}/bridge
%{_sbindir}/ctstat
%{_sbindir}/dcb
%{_sbindir}/genl
%{_sbindir}/devlink
%{_sbindir}/ifstat
%{_sbindir}/lnstat
%{_sbindir}/nstat
%{_sbindir}/rdma
%{_sbindir}/routef
%{_sbindir}/routel
%{_sbindir}/rtacct
%{_sbindir}/rtpr
%{_sbindir}/rtstat
%{_sbindir}/ss
%{_sbindir}/tipc
%{_sbindir}/*
%dir %{_libdir}/tc
%{_libdir}/tc/m_ipt.so
%{_libdir}/tc/m_xt.so
@ -180,6 +128,9 @@ rm -f %{buildroot}%{pckdocdir}/*.sgml
#%endif
%changelog
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
- automatic version update by autodist
* Tue Mar 02 2021 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist