From: buildmaster Date: Thu, 20 Sep 2018 07:35:24 +0000 (+0200) Subject: Adapt makefile and .gitignore X-Git-Url: https://repo.cephalix.eu/gitweb/?a=commitdiff_plain;h=99139b50cd85bf3299e92f97c791108438870341;p=BlueJ.git Adapt makefile and .gitignore --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7155652 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +oss-pkg-BlueJ.spec diff --git a/packages.spec.in b/oss-pkg-BlueJ.spec.in similarity index 91% rename from packages.spec.in rename to oss-pkg-BlueJ.spec.in index cee657f..72ff556 100644 --- a/packages.spec.in +++ b/oss-pkg-BlueJ.spec.in @@ -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)