Accepting request 517867 from home:mvarlese:branches:network
- Split libs into a subpackage to provide multiple installable versions on same sytem - Split libs into a subpackage to provide multiple installable versions on same sytem OBS-URL: https://build.opensuse.org/request/show/517867 OBS-URL: https://build.opensuse.org/package/show/network/dpdk?expand=0&rev=56
This commit is contained in:
parent
f690468140
commit
66ed248d25
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 18 14:44:37 UTC 2017 - marco.varlese@suse.com
|
||||||
|
|
||||||
|
- Split libs into a subpackage to provide multiple installable versions on same sytem
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 18 11:26:36 CEST 2017 - ndas@suse.de
|
Tue Jul 18 11:26:36 CEST 2017 - ndas@suse.de
|
||||||
|
|
||||||
|
@ -40,6 +40,9 @@
|
|||||||
%bcond_without examples
|
%bcond_without examples
|
||||||
# Add option to build without tools
|
# Add option to build without tools
|
||||||
%bcond_without tools
|
%bcond_without tools
|
||||||
|
|
||||||
|
%define lname libdpdk-16_11-2
|
||||||
|
|
||||||
# Do NOT edit this auto generated file! Edit dpdk.spec instead
|
# Do NOT edit this auto generated file! Edit dpdk.spec instead
|
||||||
# and run 'pre_checkin.sh' before committing
|
# and run 'pre_checkin.sh' before committing
|
||||||
Name: dpdk-thunderx
|
Name: dpdk-thunderx
|
||||||
@ -83,7 +86,7 @@ fast packet processing in the user space.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Data Plane Development Kit development files (thunderx)
|
Summary: Data Plane Development Kit development files (thunderx)
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
Provides: dpdk-any-devel = %{version}
|
Provides: dpdk-any-devel = %{version}
|
||||||
Conflicts: otherproviders(dpdk-any-devel)
|
Conflicts: otherproviders(dpdk-any-devel)
|
||||||
|
|
||||||
@ -91,6 +94,15 @@ Conflicts: otherproviders(dpdk-any-devel)
|
|||||||
This package contains the headers and other files needed for developing
|
This package contains the headers and other files needed for developing
|
||||||
applications with the Data Plane Development Kit.
|
applications with the Data Plane Development Kit.
|
||||||
|
|
||||||
|
%package -n %{lname}
|
||||||
|
Summary: Data Plane Development Kit runtime libraries (thunderx)
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Provides: %{lname}-any = %{version}
|
||||||
|
|
||||||
|
%description -n %{lname}
|
||||||
|
This package contains the runtime libraries needed for 3rd party application
|
||||||
|
to use the Data Plane Development Kit.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Data Plane Development Kit API documentation (thunderx)
|
Summary: Data Plane Development Kit API documentation (thunderx)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -316,8 +328,8 @@ ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind
|
|||||||
|
|
||||||
%post devel -p /sbin/ldconfig
|
%post devel -p /sbin/ldconfig
|
||||||
%postun devel -p /sbin/ldconfig
|
%postun devel -p /sbin/ldconfig
|
||||||
%post -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -327,6 +339,8 @@ ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind
|
|||||||
%{_bindir}/dpdk_proc_info
|
%{_bindir}/dpdk_proc_info
|
||||||
%{_bindir}/dpdk-pdump
|
%{_bindir}/dpdk-pdump
|
||||||
|
|
||||||
|
%files -n %{lname}
|
||||||
|
%defattr(-,root,root)
|
||||||
%if %{with shared}
|
%if %{with shared}
|
||||||
%dir %{_libdir}/dpdk-pmds
|
%dir %{_libdir}/dpdk-pmds
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 18 14:44:37 UTC 2017 - marco.varlese@suse.com
|
||||||
|
|
||||||
|
- Split libs into a subpackage to provide multiple installable versions on same sytem
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 18 11:26:36 CEST 2017 - ndas@suse.de
|
Tue Jul 18 11:26:36 CEST 2017 - ndas@suse.de
|
||||||
|
|
||||||
|
20
dpdk.spec
20
dpdk.spec
@ -40,6 +40,9 @@
|
|||||||
%bcond_without examples
|
%bcond_without examples
|
||||||
# Add option to build without tools
|
# Add option to build without tools
|
||||||
%bcond_without tools
|
%bcond_without tools
|
||||||
|
|
||||||
|
%define lname libdpdk-16_11-2
|
||||||
|
|
||||||
Name: dpdk
|
Name: dpdk
|
||||||
Version: 16.11.2
|
Version: 16.11.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -81,7 +84,7 @@ fast packet processing in the user space.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Data Plane Development Kit development files
|
Summary: Data Plane Development Kit development files
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: %{lname} = %{version}
|
||||||
Provides: dpdk-any-devel = %{version}
|
Provides: dpdk-any-devel = %{version}
|
||||||
Conflicts: otherproviders(dpdk-any-devel)
|
Conflicts: otherproviders(dpdk-any-devel)
|
||||||
|
|
||||||
@ -89,6 +92,15 @@ Conflicts: otherproviders(dpdk-any-devel)
|
|||||||
This package contains the headers and other files needed for developing
|
This package contains the headers and other files needed for developing
|
||||||
applications with the Data Plane Development Kit.
|
applications with the Data Plane Development Kit.
|
||||||
|
|
||||||
|
%package -n %{lname}
|
||||||
|
Summary: Data Plane Development Kit runtime libraries
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Provides: %{lname}-any = %{version}
|
||||||
|
|
||||||
|
%description -n %{lname}
|
||||||
|
This package contains the runtime libraries needed for 3rd party application
|
||||||
|
to use the Data Plane Development Kit.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Data Plane Development Kit API documentation
|
Summary: Data Plane Development Kit API documentation
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -314,8 +326,8 @@ ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind
|
|||||||
|
|
||||||
%post devel -p /sbin/ldconfig
|
%post devel -p /sbin/ldconfig
|
||||||
%postun devel -p /sbin/ldconfig
|
%postun devel -p /sbin/ldconfig
|
||||||
%post -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -325,6 +337,8 @@ ln -s %{_sbindir}/dpdk-devbind %{buildroot}%{_sbindir}/dpdk_nic_bind
|
|||||||
%{_bindir}/dpdk_proc_info
|
%{_bindir}/dpdk_proc_info
|
||||||
%{_bindir}/dpdk-pdump
|
%{_bindir}/dpdk-pdump
|
||||||
|
|
||||||
|
%files -n %{lname}
|
||||||
|
%defattr(-,root,root)
|
||||||
%if %{with shared}
|
%if %{with shared}
|
||||||
%dir %{_libdir}/dpdk-pmds
|
%dir %{_libdir}/dpdk-pmds
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user