Commit e5b29e97 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

We don't use the rpm-old target anymore

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9620 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3167678e
...@@ -1109,43 +1109,6 @@ ...@@ -1109,43 +1109,6 @@
</copy> </copy>
</target> </target>
<!-- installer.rpm.old ========================================================================= -->
<property name="target.rpm" value="${work.dir}/rpm" />
<target name="installer.rpm.old" depends="init, dist.init" description="Builds a rpm of openfire.">
<antcall target="dist.src"/>
<antcall target="dist.bin">
<!-- Don't need package for installer build -->
<param name="no.package" value="true"/>
<!-- Already built javadoc with dist.src above -->
<param name="no.javadoc" value="true"/>
</antcall>
<mkdir dir="${target.rpm}/SPECS" />
<mkdir dir="${target.rpm}/SOURCES" />
<mkdir dir="${target.rpm}/BUILD" />
<mkdir dir="${target.rpm}/SRPMS" />
<mkdir dir="${target.rpm}/RPMS" />
<copy todir="${target.rpm}/SPECS" file="${basedir}/build/rpm/openfire.spec" />
<copy todir="${target.rpm}/SOURCES" file="${release.dest.dir}/${release.fullname.src}.tar.gz" />
<copy todir="${target.rpm}/BUILD/openfire-root/opt" >
<fileset dir="${release.out.dir}/.."
includes="${release.fullname}/**/*, ${release.name}/**/*"/>
</copy>
<rpm specFile="openfire.spec"
topDir="${target.rpm}"
command="-ba"
failOnError="true"
/>
<copy todir="${release.dest.dir}" >
<fileset dir="${target.rpm}/SRPMS" />
<fileset dir="${target.rpm}/RPMS/i386" />
</copy>
</target>
<!-- plugins =============================================================================== --> <!-- plugins =============================================================================== -->
<target name="plugins" description="Builds all plugins"> <target name="plugins" description="Builds all plugins">
<!-- Call jar task, can't do this is as a 'depends' call of this target because <!-- Call jar task, can't do this is as a 'depends' call of this target because
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment