diff --git a/apache-commons-lang.spec b/apache-commons-lang.spec
index 56bc453..fb2bed9 100644
--- a/apache-commons-lang.spec
+++ b/apache-commons-lang.spec
@@ -4,7 +4,7 @@
Name: apache-%{short_name}
Version: 2.6
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Provides a host of helper utilities for the java.lang API
License: ASL 2.0
Group: Development/Libraries
@@ -50,10 +50,12 @@ sed -i 's/\r//' *.txt *.html
1.3"
-%build
%mvn_file : %{name} %{short_name}
%mvn_alias : org.apache.commons: %{base_name}:%{base_name}
-export XMVN_COMPILER_SOURCE=1.3
+# this package needs to be compiled with -source 1.3 option
+%mvn_config buildSettings/compilerSource 1.3
+
+%build
%mvn_build
%install
@@ -66,6 +68,9 @@ export XMVN_COMPILER_SOURCE=1.3
%doc LICENSE.txt NOTICE.txt
%changelog
+* Tue Apr 09 2013 Michal Srb - 2.6-11
+- Properly specify XMvn's compilerSource option
+
* Wed Feb 13 2013 Fedora Release Engineering - 2.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild