[springframework] try to build with hibernate-validator 5.x

gil gil at fedoraproject.org
Fri Dec 6 12:07:41 UTC 2013


commit 6f0fc20ea55dfff460a46017159d8860c21f0665
Author: gil <puntogil at libero.it>
Date:   Fri Dec 6 13:07:25 2013 +0100

    try to build with hibernate-validator 5.x

 springframework.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/springframework.spec b/springframework.spec
index cabe747..232fbd8 100644
--- a/springframework.spec
+++ b/springframework.spec
@@ -377,6 +377,9 @@ sed -i s/edu.emory.mathcs.backport.// `find org.springframework.context -name *.
 
 %pom_xpath_set "pom:dependencies/pom:dependency[pom:groupId = 'org.codehaus.groovy']/pom:artifactId" groovy org.springframework.context
 %pom_xpath_set "pom:dependencies/pom:dependency[pom:groupId = 'org.hibernate']/pom:artifactId" hibernate-validator org.springframework.context
+sed -i "s|ResourceBundleLocator|PlatformResourceBundleLocator|" \
+ org.springframework.context/src/main/java/org/springframework/validation/beanvalidation/MessageSourceResourceBundleLocator.java
+
 # TODO Fix jruby aId
 %if %{?fedora} <= 19
 %pom_xpath_set "pom:dependencies/pom:dependency[pom:groupId = 'org.jruby']/pom:artifactId" shared org.springframework.context


More information about the scm-commits mailing list