fix build warnings:patchN is deprecated, use patch N (or %patch -P N )
Signed-off-by: Chen Hao <dev11201@linx-info.com> (cherry picked from commit 3d93c235fa1d1df0a06799c4a113972a8d79dbf5)
This commit is contained in:
parent
3fe3c2b068
commit
d5ae767ec8
@ -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 <dev11201@linx-info.com> - 1.1-2
|
||||
- DESC:fix %patchN is deprecated warning
|
||||
|
||||
* Fri Jul 24 2020 chengzihan <chengzihan2@huawei.com> - 1.1-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user