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:
1 parent
b190982ee6
commit
383e375099
1 file changed
+1
-1
@@ -30,7 +30,7 @@ srpm: dist-snapshot
|
|||||||
origdir=$$(pwd); \
|
origdir=$$(pwd); \
|
||||||
cd $(DISTGIT_NAME) && \
|
cd $(DISTGIT_NAME) && \
|
||||||
git stash && git pull -r && \
|
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 && \
|
rm -f *.src.rpm && \
|
||||||
$(mypath)/rpmbuild-cwd -bs $(DISTGIT_NAME).spec && mv *.src.rpm $${origdir}; \
|
$(mypath)/rpmbuild-cwd -bs $(DISTGIT_NAME).spec && mv *.src.rpm $${origdir}; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user