ATM is available in Fedora only
This commit is contained in:
parent
1c79d9fc0f
commit
4f1b4def61
28
iproute.spec
28
iproute.spec
@ -2,7 +2,7 @@
|
|||||||
Summary: Advanced IP routing and network device configuration tools
|
Summary: Advanced IP routing and network device configuration tools
|
||||||
Name: iproute
|
Name: iproute
|
||||||
Version: 3.8.0
|
Version: 3.8.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://kernel.org/pub/linux/utils/net/%{name}2/
|
URL: http://kernel.org/pub/linux/utils/net/%{name}2/
|
||||||
Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.gz
|
Source0: http://kernel.org/pub/linux/utils/net/%{name}2/%{name}2-%{version}.tar.gz
|
||||||
@ -20,11 +20,21 @@ Patch8: iproute2-2.6.39-lnstat-dump-to-stdout.patch
|
|||||||
Patch9: iproute2-3.8.0-unused-result.patch
|
Patch9: iproute2-3.8.0-unused-result.patch
|
||||||
Patch10: iproute2-3.8.0-up.patch
|
Patch10: iproute2-3.8.0-up.patch
|
||||||
License: GPLv2+ and Public Domain
|
License: GPLv2+ and Public Domain
|
||||||
BuildRequires: tex(latex) tex(dvips) tex(ecrm1000.tfm) tex(cm-super-t1.enc) linuxdoc-tools
|
BuildRequires: bison
|
||||||
BuildRequires: flex linux-atm-libs-devel psutils libdb-devel bison
|
BuildRequires: flex
|
||||||
BuildRequires: iptables-devel >= 1.4.5
|
BuildRequires: iptables-devel >= 1.4.5
|
||||||
|
BuildRequires: libdb-devel
|
||||||
BuildRequires: libnl-devel
|
BuildRequires: libnl-devel
|
||||||
|
BuildRequires: linuxdoc-tools
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: psutils
|
||||||
|
BuildRequires: tex(cm-super-t1.enc)
|
||||||
|
BuildRequires: tex(dvips)
|
||||||
|
BuildRequires: tex(ecrm1000.tfm)
|
||||||
|
BuildRequires: tex(latex)
|
||||||
|
%if 0%{?fedora}
|
||||||
|
BuildRequires: linux-atm-libs-devel
|
||||||
|
%endif
|
||||||
# For the UsrMove transition period
|
# For the UsrMove transition period
|
||||||
Conflicts: filesystem < 3
|
Conflicts: filesystem < 3
|
||||||
Provides: /sbin/ip
|
Provides: /sbin/ip
|
||||||
@ -111,11 +121,10 @@ cd %{buildroot}%{_sbindir}
|
|||||||
cd -
|
cd -
|
||||||
|
|
||||||
# Libs
|
# Libs
|
||||||
for library in \
|
%if 0%{?fedora}
|
||||||
tc/q_atm.so \
|
install -m755 tc/q_atm.so %{buildroot}%{_libdir}/tc
|
||||||
tc/m_xt.so
|
%endif
|
||||||
do install -m755 ${library} %{buildroot}%{_libdir}/tc
|
install -m755 tc/m_xt.so %{buildroot}%{_libdir}/tc
|
||||||
done
|
|
||||||
cd %{buildroot}%{_libdir}/tc
|
cd %{buildroot}%{_libdir}/tc
|
||||||
ln -s m_xt.so m_ipt.so
|
ln -s m_xt.so m_ipt.so
|
||||||
cd -
|
cd -
|
||||||
@ -174,6 +183,9 @@ done
|
|||||||
%{_includedir}/libnetlink.h
|
%{_includedir}/libnetlink.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 25 2013 Petr Šabata <contyk@redhat.com> - 3.8.0-4
|
||||||
|
- ATM is available in Fedora only
|
||||||
|
|
||||||
* Tue Mar 12 2013 Petr Šabata <contyk@redhat.com> - 3.8.0-3
|
* Tue Mar 12 2013 Petr Šabata <contyk@redhat.com> - 3.8.0-3
|
||||||
- Mention the "up" argument in documentation and help outputs (#907468)
|
- Mention the "up" argument in documentation and help outputs (#907468)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user