]> repo.cephalix.eu Git - template-old.git/commitdiff
Avoid make error.
authorbuildmaster <buildmaster@git.cephalix.eu>
Wed, 19 Jun 2019 09:10:17 +0000 (11:10 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Wed, 19 Jun 2019 09:10:17 +0000 (11:10 +0200)
Makefile

index 548057e85b4fab779b139af5a5be9718cb8c1d72..83c08d4d3054201f9a8ae91a0f7db53a4cd469ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ package:
        rm -rf oss-pkg-$(PACKAGE)
        mv  oss-pkg-$(PACKAGE).tar.bz2  /usr/src/packages/SOURCES/
        rpmbuild -bb oss-pkg-$(PACKAGE).spec
+       cp /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
        for i in $(REPO)/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-*.rpm; do test -e $$i && rm $$i; done 
        mv /usr/src/packages/RPMS/noarch/oss-pkg-$(PACKAGE)-$(VERSION)-$(NRELEASE).noarch.rpm $(REPO)/noarch
        echo $(NRELEASE) > RELEASE