Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
592e6730f4 | ||
|
|
7b63ee95ef | ||
|
|
6910d71883 | ||
|
|
68e5067efb | ||
|
|
911b3f4788 | ||
|
|
24b5a7b01a |
3 changed files with 22 additions and 14 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -6,3 +6,6 @@
|
|||
/iproute2-5.3.0.tar.xz
|
||||
/iproute2-5.4.0.tar.xz
|
||||
/iproute2-5.5.0.tar.xz
|
||||
/iproute2-5.6.0.tar.xz
|
||||
/iproute2-5.7.0.tar.xz
|
||||
/iproute2-5.9.0.tar.xz
|
||||
|
|
|
|||
31
iproute.spec
31
iproute.spec
|
|
@ -1,7 +1,7 @@
|
|||
%global cbq_version v0.7.3
|
||||
Summary: Advanced IP routing and network device configuration tools
|
||||
Name: iproute
|
||||
Version: 5.5.0
|
||||
Version: 5.9.0
|
||||
Release: 1%{?dist}
|
||||
URL: http://kernel.org/pub/linux/utils/net/%{name}2/
|
||||
Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.xz
|
||||
|
|
@ -23,6 +23,7 @@ BuildRequires: linux-atm-libs-devel
|
|||
%endif
|
||||
%endif
|
||||
Provides: /sbin/ip
|
||||
Provides: iproute-doc = %{version}-%{release}
|
||||
Recommends: %{name}-tc
|
||||
Requires: psmisc
|
||||
Obsoletes: iproute-doc < %{version}-%{release}
|
||||
|
|
@ -36,7 +37,7 @@ kernel.
|
|||
Summary: Linux Traffic Control utility
|
||||
License: GPLv2+
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Provides: tc
|
||||
Provides: /sbin/tc
|
||||
|
||||
%description tc
|
||||
The Traffic Control utility manages queueing disciplines, their classes and
|
||||
|
|
@ -55,21 +56,13 @@ The libnetlink static library.
|
|||
%autosetup -p1 -n %{name}2-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS='%{optflags}'
|
||||
export LDFLAGS='%{build_ldflags}'
|
||||
export LIBDIR='%{_libdir}'
|
||||
export IPT_LIB_DIR='/%{_lib}/xtables'
|
||||
./configure
|
||||
make %{?_smp_mflags}
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
export DESTDIR='%{buildroot}'
|
||||
export SBINDIR='%{_sbindir}'
|
||||
export MANDIR='%{_mandir}'
|
||||
export LIBDIR='%{_libdir}'
|
||||
export CONFDIR='%{_sysconfdir}/iproute2'
|
||||
export DOCDIR='%{_docdir}'
|
||||
make install
|
||||
%make_install
|
||||
|
||||
# libnetlink
|
||||
install -D -m644 include/libnetlink.h %{buildroot}%{_includedir}/libnetlink.h
|
||||
|
|
@ -87,6 +80,7 @@ install -D -m644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a
|
|||
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/iproute2/*
|
||||
%{_sbindir}/*
|
||||
%exclude %{_sbindir}/tc
|
||||
%{_datadir}/bash-completion/completions/devlink
|
||||
|
||||
%files tc
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
|
|
@ -107,6 +101,17 @@ install -D -m644 lib/libnetlink.a %{buildroot}%{_libdir}/libnetlink.a
|
|||
%{_includedir}/iproute2/bpf_elf.h
|
||||
|
||||
%changelog
|
||||
* Wed Dec 02 2020 Andrea Claudi <aclaudi@redhat.com> - 5.9.0-1
|
||||
- New version 5.9.0
|
||||
- Fix a couple of rpmlint warnings
|
||||
|
||||
* Mon Jul 27 2020 Phil Sutter <psutter@redhat.com> - 5.7.0-1
|
||||
- New version 5.7.0
|
||||
|
||||
* Thu Jun 04 2020 Phil Sutter <psutter@redhat.com> - 5.6.0-1
|
||||
- New version 5.6.0
|
||||
- Add upstream-suggested backports
|
||||
|
||||
* Tue Jan 28 2020 Phil Sutter <psutter@redhat.com> - 5.5.0-1
|
||||
- New version 5.5.0
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (iproute2-5.5.0.tar.xz) = a59fb6d620206aa17a4ff7d4510b99322e39b6cf34a00953a7d4cd4d62ca85de16d2e28e33cafa7b026edd4f63c81f3f337954aafe963b964ca0cd2d5c54ac78
|
||||
SHA512 (iproute2-5.9.0.tar.xz) = bce59b0e8d876f10f94926be7f2a7cda0de15db04fabedfe938649d486ca6d6d222523d1661b8b36ea50e35369a4730938d6ebeb80577ac0522a3432037bcd50
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue