[lucene] 830762 - lucene ships POMs with uninitialized version properties

Krzysztof Daniel kdaniel at fedoraproject.org
Fri Mar 1 08:19:11 UTC 2013


commit 5d70442adb4f1bf59b4186a973d049369ed72a5d
Author: Michel Salim <salimma at fedoraproject.org>
Date:   Fri Mar 1 09:03:49 2013 +0100

    830762 - lucene ships POMs with uninitialized version properties

 .gitignore  |    2 ++
 lucene.spec |    9 ++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5596e37..4a3aa87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@ lucene-2.4.1-src.tar.gz
 /lucene-3.6.0-src.tgz
 dev-tools.tar.xz
 /lucene-3.6.2-src.tgz
+/lucene-3.6.2
+/noarch
diff --git a/lucene.spec b/lucene.spec
index 4febe3d..b705abc 100644
--- a/lucene.spec
+++ b/lucene.spec
@@ -31,7 +31,7 @@
 Summary:        High-performance, full-featured text search engine
 Name:           lucene
 Version:        3.6.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Epoch:          0
 License:        ASL 2.0
 URL:            http://lucene.apache.org/
@@ -114,8 +114,8 @@ popd
 iconv --from=ISO-8859-1 --to=UTF-8 CHANGES.txt > CHANGES.txt.new
 
 # prepare pom files (replace @version@ with real version)
-find contrib -iname '*.pom.xml.template' -exec \
-             sed -i "s:@version@:%{version}:g" \{\} \;
+find . -name '*pom.xml.template' -exec \
+              sed -i "s:@version@:%{version}:g" '{}' \;
 
 cp %{SOURCE3} .
 
@@ -246,6 +246,9 @@ cp -pr build/docs/api/* \
 %endif
 
 %changelog
+* Fri Mar 1 2013 Krzysztof Daniel <kdaniel at redhat.com> 0:3.6.2-2
+- 830762: lucene ships POMs with uninitialized version properties
+
 * Tue Feb 26 2013 Severin Gehwolf <sgehwolf at redhat.com> 0:3.6.2-1
 - Update to upstream release 3.6.2
 - Fix build errors related to icu4j v50 incompatibility.


More information about the scm-commits mailing list