Skip to contentSkip to conversation

perftest: Fix rpm generation from dist tarball

PATCH New [email protected] 1 participant 1 message Jul 21, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perftest: Fix rpm generation from dist tarball

From: Ira Weiny <[email protected]>

The spec file within the git tree was not included in the dist tarball which would prevent rpmbuild from building it. Further errors are fixed by making the spec file autogenerated and adding missing files to the tarball.

The following build sequence will now build an rpm from this repo.

	$ ./autogen.sh && ./configure && make dist
	$ rpmbuild -ta perftest-5.5.tar.gz
---
 Makefile.am      |    2 +
 configure.ac     |    2 +-
 perftest.spec    |   61 ------------------------------------------------------
 perftest.spec.in |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 64 insertions(+), 62 deletions(-)
 delete mode 100644 perftest.spec
 create mode 100644 perftest.spec.in
Makefile.am +2 -0
index 48a9bc3..7decfd7 100644
@@ -71,3 +71,5 @@ raw_ethernet_lat_LDADD =
 
 endif
 
+EXTRA_DIST = perftest.spec run_perftest_loopback runme
+
configure.ac +1 -1
index d4af0e6..c7955b1 100755
@@ -156,5 +156,5 @@ fi
 CFLAGS="-g -Wall -D_GNU_SOURCE -O3"
 AC_SUBST([LIBUMAD])
 AC_SUBST([LIBMATH])
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile perftest.spec])
 AC_OUTPUT
perftest.spec deleted +0 -61

61 lines not on this page · raw message

perftest.spec.in new file +61 -0

61 lines not on this page · raw message

Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html