From: buildmaster Date: Wed, 31 Oct 2018 17:09:36 +0000 (+0100) Subject: Turn to full names. X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=b5e72ef70b66431664f620ea611476ebf4e255ad;p=OCS-Inventory-Agent.git Turn to full names. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e4c7b91 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +oss-pkg-OCS-Inventory-Agent.spec diff --git a/FULLNAMES b/FULLNAMES new file mode 100644 index 0000000..d29c416 --- /dev/null +++ b/FULLNAMES @@ -0,0 +1 @@ +OCS Inventory NG Agent 2.0.4.0 diff --git a/Makefile b/Makefile index 0dcf002..0a8f808 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ package: 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 + ../oss-pkg-tools/create_hash.sh $(PACKAGE) mkdir -p oss-pkg-$(PACKAGE) if [ ! -e $(PACKAGE).sls ]; then cp ../template/template.sls $(PACKAGE).sls; fi sed s/PACKAGE/$(PACKAGE)/g $(PACKAGE).sls > oss-pkg-$(PACKAGE)/$(PACKAGE).sls diff --git a/oss-pkg-OCS-Inventory-Agent.spec.in b/oss-pkg-OCS-Inventory-Agent.spec.in index 5dd40c0..f844098 100644 --- a/oss-pkg-OCS-Inventory-Agent.spec.in +++ b/oss-pkg-OCS-Inventory-Agent.spec.in @@ -48,7 +48,7 @@ rm -rf %{buildroot} %post -/usr/sbin/oss_api.sh POST 'softwares/add' '{"name":"PACKAGE","manually":false,"description":"OCS-Inventory-Agent","softwareVersions":[{"version":"VERSION"}]}' +/usr/sbin/oss_api_post_file.sh 'softwares/add' /srv/salt/win/repo-ng/PACKAGE/HASH.json %files %defattr(644,root,root)