]> repo.cephalix.eu Git - OCS-Inventory-Agent.git/commitdiff
Turn to full names.
authorbuildmaster <buildmaster@git.cephalix.eu>
Wed, 31 Oct 2018 17:09:36 +0000 (18:09 +0100)
committerbuildmaster <buildmaster@git.cephalix.eu>
Wed, 31 Oct 2018 17:09:36 +0000 (18:09 +0100)
.gitignore [new file with mode: 0644]
FULLNAMES [new file with mode: 0644]
Makefile
oss-pkg-OCS-Inventory-Agent.spec.in

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..e4c7b91
--- /dev/null
@@ -0,0 +1 @@
+oss-pkg-OCS-Inventory-Agent.spec
diff --git a/FULLNAMES b/FULLNAMES
new file mode 100644 (file)
index 0000000..d29c416
--- /dev/null
+++ b/FULLNAMES
@@ -0,0 +1 @@
+OCS Inventory NG Agent 2.0.4.0
index 0dcf0020e1994605e17d3b81c3f79adb6e6ed702..0a8f808f6b97d9dc7dfa56f362c8e999e78e3915 100644 (file)
--- 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
index 5dd40c0fb43774137476385c8a629186fbeb85fd..f844098ce78493d821a22cc9b0eaab2046dd45b1 100644 (file)
@@ -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)