Revision: | 1.5 |
Committed: | Fri Sep 21 15:17:37 2007 UTC (17 years, 7 months ago) by valya |
Branch: | MAIN |
CVS Tags: | dl080505, dl080425_for21x, SiteDB_080227, ge20080226, SiteDB_SM_Nightly_150208, forTony_001 |
Changes since 1.4: | +0 -1 lines |
Log Message: | Remove empty line, in order to force rebuild it with proper version of gcc |
# | User | Rev | Content |
---|---|---|---|
1 | ratnik | 1.1 | ### RPM external apache-ant 1.6.5 |
2 | ratnik | 1.2 | ## INITENV SET ANT_HOME %{i} |
3 | ratnik | 1.1 | Requires: java-jdk python |
4 | Source: http://apache.ziply.com/ant/binaries/%{n}-%{v}-bin.tar.gz | ||
5 | |||
6 | %prep | ||
7 | %setup -n %{n}-%{v} | ||
8 | |||
9 | # replace python calls throuhout the sources | ||
10 | perl -p -i -e "s|#!/usr/bin/python|#!/usr/bin/env python|" $(find .) | ||
11 | %build | ||
12 | %install | ||
13 | tar -cf - . | tar -C %i -xvvf - |