ci: Drop patches when building RPM
Things fell over when downstream added a patch we had already merged upstream. Closes: #1530 Approved by: jlebon
This commit is contained in:
parent
b190982ee6
commit
383e375099
|
|
@ -30,7 +30,7 @@ srpm: dist-snapshot
|
|||
origdir=$$(pwd); \
|
||||
cd $(DISTGIT_NAME) && \
|
||||
git stash && git pull -r && \
|
||||
sed -i -e "s,^Version:.*,Version: $(GITREV_FOR_PKG)," $(DISTGIT_NAME).spec && \
|
||||
sed -i -e '/^Patch/d' -e "s,^Version:.*,Version: $(GITREV_FOR_PKG)," $(DISTGIT_NAME).spec && \
|
||||
rm -f *.src.rpm && \
|
||||
$(mypath)/rpmbuild-cwd -bs $(DISTGIT_NAME).spec && mv *.src.rpm $${origdir}; \
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue