diff --git a/SPECS/apache-commons-el.spec b/SPECS/apache-commons-el.spec index a4b073c..ca554ba 100644 --- a/SPECS/apache-commons-el.spec +++ b/SPECS/apache-commons-el.spec @@ -5,10 +5,11 @@ %{?scl:%scl_package apache-commons-el} %{!?scl:%global pkg_name %{name}} +%{?java_common_find_provides_and_requires} Name: %{?scl_prefix}apache-%{short_name} Version: 1.0 -Release: 30%{?dist} +Release: 31%{?dist} Summary: The Apache Commons Extension Language License: ASL 1.1 URL: http://commons.apache.org/%{base_name} @@ -18,10 +19,10 @@ Source1: http://repo1.maven.org/maven2/%{short_name}/%{short_name}/%{vers Patch0: %{short_name}-%{version}-license.patch Patch1: %{short_name}-eclipse-manifest.patch Patch2: %{short_name}-enum.patch -BuildRequires: ant -BuildRequires: tomcat-jsp-2.2-api -BuildRequires: tomcat-servlet-3.0-api -BuildRequires: junit +BuildRequires: %{?scl_prefix_java_common}ant +BuildRequires: %{?scl_prefix_java_common}tomcat-jsp-2.2-api +BuildRequires: %{?scl_prefix_java_common}tomcat-servlet-3.0-api +BuildRequires: %{?scl_prefix_java_common}junit %description An implementation of standard interfaces and abstract classes for @@ -44,6 +45,7 @@ Summary: API documentation for %{name} # remove all precompiled stuff find . -type f -name "*.jar" -exec rm -f {} \; +%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"} cat > build.properties < - 1.0-31 +- Resolves: rhbz#1219013 - Fails to build from source + * Fri Oct 10 2014 Mat Booth - 1.0-30 - Resolves: rhbz#1146976 - Drop conflicting obsoletes/provides