ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/etc ant.spec antsrc.spec
Date Thu, 25 Apr 2002 09:24:13 GMT
bodewig     02/04/25 02:24:13

  Modified:    .        build.xml
  Removed:     src/etc  ant.spec antsrc.spec
  Log:
  remove RPM building stuff from distribution.
  
  Revision  Changes    Path
  1.302     +1 -72     jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.301
  retrieving revision 1.302
  diff -u -r1.301 -r1.302
  --- build.xml	25 Apr 2002 07:08:00 -0000	1.301
  +++ build.xml	25 Apr 2002 09:24:12 -0000	1.302
  @@ -975,78 +975,7 @@
       </checksum>
     </target>
   
  -  <target name="rpm_check">
  -    <condition property="rpm.present">
  -      <or>
  -        <available file="/bin/rpm" />
  -        <available file="/usr/local/bin/rpm" />
  -        <available file="rpm" filepath="${env.PATH}" />
  -      </or>
  -    </condition>
  -  </target>
  -
  -  <target name="rpm" description="--> Build the RPM files for ant"
  -          depends="prepare, rpm_check"
  -          if="rpm.present">
  -    <tstamp>
  -      <format property="rpmyear" pattern="yyyyMMdd"/>
  -      <format property="nightlybuild.dir" pattern="yyyy-MM-dd"/>
  -    </tstamp>
  -    <property name="rpm.release" value="cvs${rpmyear}"/>
  -    <property name="rpm.source" value="nightly/${nightlybuild.dir}/"/>
  -
  -    <mkdir dir="build/rpm/SPECS"/>
  -    <mkdir dir="build/rpm/SOURCES"/>
  -    <mkdir dir="build/rpm/BUILD"/>
  -    <mkdir dir="build/rpm/RPMS"/>
  -    <mkdir dir="build/rpm/SRPMS"/>
  -
  -    <property name="disttar" location="${dist.base}/bin/${dist.name}-bin.tar.gz"/>
  -    <copy file="src/etc/ant.spec" tofile="build/rpm/SPECS/ant.spec">
  -      <filterchain refid="ant.filters"/>
  -      <filterchain>
  -        <replacetokens>
  -          <token key="RPM_RELEASE" value="${rpm.release}"/>
  -          <token key="RPM_SOURCE" value="${rpm.source}"/>
  -          <token key="DIST_TAR" value="${disttar}"/>
  -        </replacetokens>
  -      </filterchain>
  -    </copy>
  -    <copy file="src/etc/antsrc.spec" tofile="build/rpm/SPECS/antsrc.spec">
  -      <filterchain refid="ant.filters"/>
  -      <filterchain>
  -        <replacetokens>
  -          <token key="RPM_RELEASE" value="${rpm.release}"/>
  -          <token key="RPM_SOURCE" value="${rpm.source}"/>
  -        </replacetokens>
  -      </filterchain>
  -    </copy>
  -    <rpm topDir="build/rpm"
  -         specfile="ant.spec"
  -         command="-bb"/>
  -
  -    <copy file="distribution/src/${dist.name}-src.tar.gz" todir="build/rpm/SOURCES"/>
  -    <rpm topDir="build/rpm"
  -         specfile="antsrc.spec"
  -         command="-bs"/>
  -
  -    <mkdir dir="${dist.base}/rpms"/>
  -    <copy todir="${dist.base}/rpms">
  -      <fileset dir="build/rpm/RPMS/noarch"/>
  -    </copy>
  -    <copy todir="${dist.base}/rpms">
  -      <fileset dir="build/rpm/SRPMS"/>
  -    </copy>
  -    <checksum fileext=".md5">
  -      <fileset dir="${dist.base}/rpms/">
  -        <include name="**/*" />
  -        <exclude name="**/*.asc" />
  -        <exclude name="**/*.md5" />
  -      </fileset>
  -    </checksum>
  -  </target>
  -
  -  <target name="distribution" depends="main_distribution, rpm"
  +  <target name="distribution" depends="main_distribution"
             description="--> creates the full Apache Ant distribution">
     </target>
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message