summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-15 12:26:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-15 12:26:24 +0000
commit4864ced5614f5954f5bcab95e897da9b6824d931 (patch)
tree34f3dbb5bf63c8d3f2e95640aab82eebcbf48b92 /Makefile
parentAdding upstream version 1.1~rc0. (diff)
downloadlibnvme-4864ced5614f5954f5bcab95e897da9b6824d931.tar.xz
libnvme-4864ced5614f5954f5bcab95e897da9b6824d931.zip
Adding upstream version 1.1.upstream/1.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3e0e157..9e79fc2 100644
--- a/Makefile
+++ b/Makefile
@@ -39,5 +39,8 @@ test: ${BUILD-DIR}
ninja -C ${BUILD-DIR} $@
.PHONY: rpm
-rpm: dist
- rpmbuild -ba ${BUILD-DIR}/libnvme.spec
+rpm: ${BUILD-DIR}
+ git archive --format=tar HEAD > libnvme.tar
+ tar rf libnvme.tar ${BUILD-DIR}/libnvme.spec
+ gzip -f -9 libnvme.tar
+ rpmbuild -ta libnvme.tar.gz -v