Merge r7389 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7649 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 03:19:02 +00:00
parent f53ea59fb8
commit acbfaf6cf9
2 changed files with 4 additions and 3 deletions

View File

@@ -440,7 +440,8 @@ scst-rpm:
mkdir -p $${rpmtopdir}/$$d; \
done && \
cp scst-$(VERSION).tar.bz2 $${rpmtopdir}/SOURCES && \
sed "s/@rpm_version@/$(VERSION)/g" \
sed -e "s/@rpm_version@/$(VERSION)/g" \
-e "s|@depmod@|$(shell which depmod)|g" \
<$${name}.spec.in >$${name}.spec && \
MAKE="$(MAKE)" rpmbuild --define="%_topdir $${rpmtopdir}" \
$(if $(KVER),--define="%kversion $(KVER)") \