[ant: 1/2] - Remove -SNAPSHOT from version

Orion Poplawski orion at fedoraproject.org
Thu Aug 26 21:01:32 UTC 2010


commit bfd7bf67bd44f0e39565e79c98641b5defa4d7a0
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Thu Aug 26 14:58:47 2010 -0600

    - Remove -SNAPSHOT from version

 ant.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ant.spec b/ant.spec
index 8a731e5..46e5b94 100644
--- a/ant.spec
+++ b/ant.spec
@@ -55,7 +55,7 @@
 
 Name:           ant
 Version:        1.8.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Epoch:          0
 Summary:        Build tool for java
 Summary(it):    Tool per la compilazione di programmi java
@@ -469,6 +469,8 @@ Javadoc pour %{name}.
 
 %prep
 %setup -q -n apache-ant-%{cvs_version}
+#Fixup version
+find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
 #https://issues.apache.org/bugzilla/show_bug.cgi?id=47669
 sed -i -e "s|IMAGE_FILE_TYPE|BINARY_FILE_TYPE|g" src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
 # Disable the style and xmlvalidate tasks on ppc64 and s390x (#163689).
@@ -1228,6 +1230,9 @@ fi
 # -----------------------------------------------------------------------------
 
 %changelog
+* Thu Aug 26 2010 Orion Poplawski <orion at cora.nwra.com> 0:1.8.1-2
+- Remove -SNAPSHOT from version
+
 * Mon Aug 16 2010 Orion Poplawski <orion at cora.nwra.com> 0:1.8.1-1
 - Update to ant 1.8.1
 - Update no-test-jar patch


More information about the scm-commits mailing list