!9 [sync] PR-2: fix build warnings:patchN is deprecated, use patch N (or %patch -P N )
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
ae45300079
@ -4,7 +4,7 @@
|
|||||||
%global namedversion %{version}%{?namedreltag}
|
%global namedversion %{version}%{?namedreltag}
|
||||||
Name: apache-commons-jci
|
Name: apache-commons-jci
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Commons Java Compiler Interface
|
Summary: Commons Java Compiler Interface
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://commons.apache.org/jci/
|
URL: http://commons.apache.org/jci/
|
||||||
@ -68,7 +68,7 @@ Commons JCI compiler implementation for rhino JavaScript.
|
|||||||
%setup -q -n %{short_name}-%{namedversion}-src
|
%setup -q -n %{short_name}-%{namedversion}-src
|
||||||
find . -name "*.class" -delete
|
find . -name "*.class" -delete
|
||||||
find . -name "*.jar" -delete
|
find . -name "*.jar" -delete
|
||||||
%patch0 -p1
|
%patch 0 -p1
|
||||||
%pom_disable_module examples
|
%pom_disable_module examples
|
||||||
%pom_xpath_remove "pom:build/pom:extensions"
|
%pom_xpath_remove "pom:build/pom:extensions"
|
||||||
%pom_xpath_set "pom:properties/pom:maven.compiler.source" 1.6
|
%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
|
%files rhino -f .mfiles-%{short_name}-rhino
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 13 2024 chenhao <dev11201@linx-info.com> - 1.1-2
|
||||||
|
- DESC:fix %patchN is deprecated warning
|
||||||
|
|
||||||
* Fri Jul 24 2020 chengzihan <chengzihan2@huawei.com> - 1.1-1
|
* Fri Jul 24 2020 chengzihan <chengzihan2@huawei.com> - 1.1-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user