]> repo.cephalix.eu Git - BlueJ.git/commitdiff
Adapt makefile and .gitignore
authorbuildmaster <buildmaster@git.cephalix.eu>
Thu, 20 Sep 2018 07:35:24 +0000 (09:35 +0200)
committerbuildmaster <buildmaster@git.cephalix.eu>
Thu, 20 Sep 2018 07:35:24 +0000 (09:35 +0200)
.gitignore [new file with mode: 0644]
oss-pkg-BlueJ.spec.in [moved from packages.spec.in with 91% similarity]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..7155652
--- /dev/null
@@ -0,0 +1 @@
+oss-pkg-BlueJ.spec
similarity index 91%
rename from packages.spec.in
rename to oss-pkg-BlueJ.spec.in
index cee657f0b2f76f6431c9dd330b92d4f761b63ca6..72ff556c4a39c101fc4f20146fb3dd5f3452b97e 100644 (file)
@@ -15,8 +15,8 @@ Group:        Productivity/
 Source:       %{name}.tar.bz2
 BuildArch:    noarch
 BuildRequires:unzip
-Requires:     oss-pkg-JavaRuntime
 Requires:     filesystem
+PreReq:              oss-pkg-JavaRuntime
 PreReq:       salt-master
 PreReq:       %fillup_prereq
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
@@ -50,6 +50,8 @@ rm -rf %{buildroot}
 %post
 
 /usr/sbin/oss_api.sh POST 'softwares/add' '{"name":"PACKAGE","manually":false,"description":"PACKAGE","softwareVersions":[{"version":"VERSION"}]}'
+sleep 1
+/usr/sbin/oss_api.sh POST 'softwares/addRequirements' '["PACAKGE","JavaRuntime"]'
 
 %files
 %defattr(644,root,root)