Fix "Requires: dpdk" by adding epoch

Resolves: bz 1564548
This commit is contained in:
Timothy Redaelli 2018-04-10 11:25:07 +02:00
parent ef7fe382b6
commit d15d2d27de

View File

@ -9,7 +9,7 @@
Name: dpdk
Version: 17.11.1
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 2
URL: http://dpdk.org
Source: http://dpdk.org/browse/dpdk/snapshot/dpdk-%{version}.tar.xz
@ -77,9 +77,9 @@ fast packet processing in the user space.
%package devel
Summary: Data Plane Development Kit development files
Requires: %{name}%{?_isa} = %{version}-%{release} python3
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} python3
%if ! %{with shared}
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static = %{epoch}:%{version}-%{release}
%endif
%description devel
@ -96,7 +96,7 @@ API programming documentation for the Data Plane Development Kit.
%if %{with tools}
%package tools
Summary: Tools for setting up Data Plane Development Kit environment
Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: kmod pciutils findutils iproute python3-pyelftools
%description tools
@ -293,6 +293,9 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
%endif
%changelog
* Tue Apr 10 2018 Timothy Redaelli <tredaelli@redhat.com> - 2:17.11.1-3
- Fix Requires dpdk by adding epoch
* Fri Apr 06 2018 Neil Horman <nhorman@redhat.com> 2:17.11.1-2
- Fix aarch64 build issue