On Centos 7 with drbd-8.4.5, .srpm files are successfully generated, but they
can't be used to build binary rpms because the preamble files are missing
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 1117c34..c8443c9 100644
--- a/Makefile
+++ b/Makefile
@@ -222,6 +222,7 @@ kmp-rpm: tgz drbd-kernel.spec
.PHONY: srpm
srpm: tgz
cp drbd-$(FDIST_VERSION).tar.gz `rpm -E "%_sourcedir"`
+ cp preamble* `rpm -E "%_sourcedir"`
$(RPMBUILD) -bs \
--define "kernelversion $(KVER)" \
--define "kernel_version $(KVER)" \
--
1.8.3.1
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user