From 883fb032bcc39b5e5d046c0c01c39421f63b0735 Mon Sep 17 00:00:00 2001 From: Packit Bot Date: May 05 2021 22:21:02 +0000 Subject: Add spec-file for the distribution --- diff --git a/SPECS/iproute.spec b/SPECS/iproute.spec index 6ef0b52..63d37bd 100644 --- a/SPECS/iproute.spec +++ b/SPECS/iproute.spec @@ -1,25 +1,11 @@ -%define rpmversion 5.9.0 -%define specrelease 4%{?dist} -%define pkg_release %{specrelease}%{?buildid} - Summary: Advanced IP routing and network device configuration tools Name: iproute -Version: %{rpmversion} -Release: %{pkg_release} +Version: 5.12.0 +Release: 0%{?dist}%{?buildid} Group: Applications/System 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 Source1: rt_dsfield.deprecated -Patch0: 0001-v5.9.0.patch -Patch1: 0002-Update-kernel-headers.patch -Patch2: 0003-m_vlan-add-pop_eth-and-push_eth-actions.patch -Patch3: 0004-m_mpls-add-mac_push-action.patch -Patch4: 0005-m_mpls-test-the-mac_push-action-after-modify.patch -Patch5: 0006-tc-vlan-fix-help-and-error-message-strings.patch -Patch6: 0007-tc-mpls-fix-manpage-example-and-help-message-string.patch -Patch7: 0008-tc-flower-fix-json-output-with-mpls-lse.patch -Patch8: 0009-iproute-force-rtm_dst_len-to-32-128.patch -Patch9: 0010-iplink_bareudp-cleanup-help-message-and-man-page.patch License: GPLv2+ and Public Domain BuildRequires: bison BuildRequires: elfutils-libelf-devel @@ -50,7 +36,7 @@ Group: Applications/System License: GPLv2+ Obsoletes: %{name} < 4.5.0-3 Requires: %{name}%{?_isa} = %{version}-%{release} -Provides: tc +Provides: /sbin/tc %description tc The Traffic Control utility manages queueing disciplines, their classes and @@ -82,20 +68,12 @@ The libnetlink static library. %autosetup -p1 -n %{name}2-%{version} %build -export CFLAGS="%{optflags} -fno-exceptions" -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 echo '.so man8/tc-cbq.8' > %{buildroot}%{_mandir}/man8/cbq.8 @@ -152,6 +130,9 @@ cat %{SOURCE1} >>%{buildroot}%{_sysconfdir}/iproute2/rt_dsfield %{_includedir}/iproute2/bpf_elf.h %changelog +* Thu Apr 29 2021 Andrea Claudi [5.12.0-0.el8] +- New version 5.12.0 [1939382] + * Fri Mar 12 2021 Andrea Claudi [5.9.0-4.el8] - iplink_bareudp: cleanup help message and man page (Andrea Claudi) [1912412]