From: buildmaster Date: Wed, 24 Oct 2018 19:51:04 +0000 (+0200) Subject: New release X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=e7706d26e16390f476238cf564b0de9f6dcc9f0f;p=SymantecEndpointProtection.git New release --- diff --git a/Makefile b/Makefile index 0dcf002..be61113 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ DESTDIR = / REPO = /srv/www/repo/salt-packages/ VERSION = $(shell cat VERSION ) RELEASE = $(shell cat RELEASE ) +DISPLAYNAME = $(shell cat DISPLAYNAME ) NRELEASE = $(shell echo $(RELEASE) + 1 | bc ) YEAR = $(shell date +%Y ) @@ -11,6 +12,7 @@ package: 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/DISPLAYNAME/$(DISPLAYNAME)/g" oss-pkg-$(PACKAGE).spec sed -i s/YEAR/$(YEAR)/g oss-pkg-$(PACKAGE).spec mkdir -p oss-pkg-$(PACKAGE) if [ ! -e $(PACKAGE).sls ]; then cp ../template/template.sls $(PACKAGE).sls; fi diff --git a/RELEASE b/RELEASE index d00491f..0cfbf08 100644 --- a/RELEASE +++ b/RELEASE @@ -1 +1 @@ -1 +2 diff --git a/oss-pkg-SymantecEndpointProtection.spec.in b/oss-pkg-SymantecEndpointProtection.spec.in index 079b12d..050bd1e 100644 --- a/oss-pkg-SymantecEndpointProtection.spec.in +++ b/oss-pkg-SymantecEndpointProtection.spec.in @@ -48,7 +48,7 @@ rm -rf %{buildroot} %post -/usr/sbin/oss_api.sh POST 'softwares/add' '{"name":"PACKAGE","manually":false,"description":"PACKAGE","softwareVersions":[{"version":"VERSION"}]}' +/usr/sbin/oss_api.sh POST 'softwares/add' '{"name":"PACKAGE","manually":false,"description":"DISPLAYNAME","softwareVersions":[{"version":"VERSION"}]}' %files %defattr(644,root,root)