diff --git a/apache-commons-jexl.spec b/apache-commons-jexl.spec index ce75a570e0edb2560b1f3d26a53632f62838562c..214290cf94b6d3eddc54f8b9aed6906c66dca289 100644 --- a/apache-commons-jexl.spec +++ b/apache-commons-jexl.spec @@ -2,7 +2,7 @@ %global compatver 2.1.0 Name: apache-%{jarname} Version: 2.1.1 -Release: 1 +Release: 2 Summary: Java Expression Language (JEXL) License: ASL 2.0 URL: http://commons.apache.org/jexl @@ -38,9 +38,9 @@ This package contains the API documentation for %{name}. %prep %setup -q -n %{jarname}-%{version}-src -%patch0 -p1 -b .test -%patch1 -p1 -b .javadoc -%patch2 -p1 +%patch 0 -p1 -b .test +%patch 1 -p1 -b .javadoc +%patch 2 -p1 %pom_remove_dep org.apache.bsf:bsf-api find \( -name '*.jar' -o -name '*.class' \) -delete find -name '*.txt' -exec sed -i 's/\r//' '{}' + @@ -74,5 +74,8 @@ echo " %doc LICENSE.txt NOTICE.txt %changelog +* Fri Dec 13 2024 chenhao - 2.1.1-2 +- DESC:fix %patchN is deprecated warning + * Mon Jul 27 2020 chengzihan - 2.1.1-1 - Package init