提交 996ddf12 编写于 作者: K kohsuke

depend on Sun JRE. I could have just used 'java' as the dependency, but zypper...

depend on Sun JRE. I could have just used 'java' as the dependency, but zypper seems to prefer OpenJDK if I do that, and I feel more comfortable with Sun JDK

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23800 71c3de6d-444a-0410-be80-ed276b4c234a
上级 551cf2b9
......@@ -27,12 +27,8 @@ BuildRoot: %{_tmppath}/build-%{name}-%{version}
# JDK package >= 1.6.0 to 1, and packages referring to JDK virtual
# provides >= 1.6.0 must specify the epoch, "java >= 1:1.6.0".
#
# Kohsuke - 2009/09/29
# test by mrooney on what he believes to be RHEL 5.2 indicates
# that there's no such packages. JRE/JDK RPMs from java.sun.com
# do not have this virtual package declarations. So for now,
# I'm dropping this requirement.
# Requires: java >= 1:1.6.0
# java-1_6_0-sun provides this at least
Requires: java-sun >= 1.6.0
PreReq: /usr/sbin/groupadd /usr/sbin/useradd
#PreReq: %{fillup_prereq}
BuildArch: noarch
......
......@@ -2,4 +2,4 @@
createrepo .
GPG_AGENT_INFO= ./repomd-sign $(cat ~/.gpg.passphrase) repodata/repomd.xml
cp hudson-ci.org.key repodata/repomd.xml.key
rsync -avz *.key readme.html hudson.repo RPMS repodata hudson-ci.org:~/www/hudson-ci.org/opensuse
rsync -avz *.key readme.html RPMS repodata hudson-ci.org:~/www/hudson-ci.org/opensuse
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册