add copr build config
This commit is contained in:
parent
6a29114bb8
commit
9e1633717c
15
.copr/Makefile
Normal file
15
.copr/Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
rpmbuild_src = $(shell rpmbuild --eval '%{_sourcedir}')
|
||||||
|
.PHONY: prepare srpm rpm
|
||||||
|
|
||||||
|
prepare:
|
||||||
|
dnf -y install rpmdevtools rpm-build
|
||||||
|
cp *.patch $(rpmbuild_src)
|
||||||
|
cp lxc-net $(rpmbuild_src)
|
||||||
|
spectool -g -R $(spec)
|
||||||
|
|
||||||
|
|
||||||
|
srpm: prepare
|
||||||
|
rpmbuild -bs --define "_srcrpmdir $(outdir)" $(spec)
|
||||||
|
|
||||||
|
rpm: prepare
|
||||||
|
rpmbuild -bb --define "_rpmdir $(outdir)" $(spec)
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
#/lxc-*.tar.gz
|
/lxc-*.tar.gz
|
||||||
|
/v1.*.tar.gz
|
||||||
|
BIN
v1.0.0.tar.gz
BIN
v1.0.0.tar.gz
Binary file not shown.
Loading…
Reference in New Issue
Block a user