diff --git a/apache-commons-jci.spec b/apache-commons-jci.spec index fb59d42..695c69c 100644 --- a/apache-commons-jci.spec +++ b/apache-commons-jci.spec @@ -4,7 +4,7 @@ %global namedversion %{version}%{?namedreltag} Name: apache-commons-jci Version: 1.1 -Release: 1 +Release: 2 Summary: Commons Java Compiler Interface License: ASL 2.0 URL: http://commons.apache.org/jci/ @@ -68,7 +68,7 @@ Commons JCI compiler implementation for rhino JavaScript. %setup -q -n %{short_name}-%{namedversion}-src find . -name "*.class" -delete find . -name "*.jar" -delete -%patch0 -p1 +%patch 0 -p1 %pom_disable_module examples %pom_xpath_remove "pom:build/pom:extensions" %pom_xpath_set "pom:properties/pom:maven.compiler.source" 1.6 @@ -114,5 +114,8 @@ find . -name "*.jar" -delete %files rhino -f .mfiles-%{short_name}-rhino %changelog +* Fri Dec 13 2024 chenhao - 1.1-2 +- DESC:fix %patchN is deprecated warning + * Fri Jul 24 2020 chengzihan - 1.1-1 - Package init