From: buildmaster Date: Mon, 22 Oct 2018 20:32:39 +0000 (+0200) Subject: Fix package. X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=3ed7d19d42e3ff4e7888f43836fe249c2fd13e12;p=SymantecEndpointProtection.git Fix package. --- diff --git a/Makefile b/Makefile index 50c588a..0dcf002 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,7 @@ YEAR = $(shell date +%Y ) package: - if [ ! -e oss-pkg-$(PACKAGE).spec ]; then cp ../template/package.spec oss-pkg-$(PACKAGE).spec; fi - sed -i s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec + sed s/VERSION/$(VERSION)/g oss-pkg-$(PACKAGE).spec.in > oss-pkg-$(PACKAGE).spec sed -i s/RELEASE/$(NRELEASE)/g oss-pkg-$(PACKAGE).spec sed -i s/PACKAGE/$(PACKAGE)/g oss-pkg-$(PACKAGE).spec sed -i s/YEAR/$(YEAR)/g oss-pkg-$(PACKAGE).spec diff --git a/oss-pkg-SymantecEndpointProtection.spec b/oss-pkg-SymantecEndpointProtection.spec.in similarity index 100% rename from oss-pkg-SymantecEndpointProtection.spec rename to oss-pkg-SymantecEndpointProtection.spec.in