You can build the Napatech driver and tools RPM packages in one step from SRPM packages, or you can modify the spec files before building to suit your requirements.
About this task
You can build the RPM packages in one step from SRPM packages if you don't need to edit the spec files; see Building RPM Packages Directly From SRPM Packages.
Remove the dependency on nt-driver-3gd-modules and add a dependency on kernel headers to take advantage of automatic kernel module build.
Remove systemd integration or add support for Upstart or SystemV in place of systemd. See examples of Upstart and SystemV scripts in /opt/napatech3/examples/integration/ (in the nt-driver-3gd-examples package) or in DN-0449.Note: If you want to build RPM packages for a Linux distribution without systemd, for example RHEL 6 or CentOS 6, you must edit nt-driver-3gd.spec to remove systemd support.
Modify the ncurses package name if it differs in your distribution.
Modify the kernel headers package name if it differs in your distribution.
If you want to modify the spec files before building RPM packages, the typical workflow will be:
- Install SRPM packages
- Edit spec files
- Build RPM packages from spec files