diff --git a/.copr/Makefile b/.copr/Makefile new file mode 100644 index 0000000..454d33e --- /dev/null +++ b/.copr/Makefile @@ -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) diff --git a/.gitignore b/.gitignore index 40c17b0..fbb43cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -#/lxc-*.tar.gz +/lxc-*.tar.gz +/v1.*.tar.gz diff --git a/lxc-4.0.10.tar.gz b/lxc-4.0.10.tar.gz deleted file mode 100644 index e69de29..0000000 diff --git a/v1.0.0.tar.gz b/v1.0.0.tar.gz deleted file mode 100644 index 36ab4a5..0000000 Binary files a/v1.0.0.tar.gz and /dev/null differ