From 25da2e9c2f259a48bc56a3d7c2f20fb5e59c9b1b Mon Sep 17 00:00:00 2001 From: Dan Fruehauf Date: Fri, 24 May 2024 00:16:47 +0000 Subject: [PATCH] Instructions for building RPM --- README.md | 9 +++++++++ exanic.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 67b341a..4f3f0ea 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,15 @@ Installation ------------ To install from source please run ``make`` and ``sudo make install`` from the top level. +RPM Build +--------- +Run: +``` +$ export exanic_version=2.7.4 +$ (cd .. && tar -czf $HOME/rpmbuild/SOURCES/exanic-${exanic_version}.tar.gz exanic-software --transform=s#exanic-software/#exanic-${exanic_version}/#g) +$ rpmbuild -ba -D 'debug_package %{nil}' exanic.spec +``` + Support ------- Complete documentation is available from our [website](https://www.cisco.com/c/en/us/td/docs/dcn/nexus3550/smartnic/sw/user-guide/cisco-nexus-smartnic-user-guide/index.html). For other questions and comments, you can contact Cisco TAC support team. diff --git a/exanic.spec b/exanic.spec index 8415601..f711a33 100644 --- a/exanic.spec +++ b/exanic.spec @@ -1,6 +1,6 @@ Name: exanic Version: 2.7.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: ExaNIC drivers and software Group: System Environment/Kernel