!29 修改 spec 文件中的“openEuler”硬编码文本为宏
From: @reganhe_xx Reviewed-by: @luo-haibo Signed-off-by: @luo-haibo
This commit is contained in:
commit
c47587cee5
@ -5,7 +5,7 @@
|
||||
Name: maven
|
||||
Epoch: 1
|
||||
Version: 3.5.4
|
||||
Release: 11
|
||||
Release: 12
|
||||
Summary: Java project management and project comprehension tool
|
||||
License: ASL 2.0 and MIT
|
||||
URL: http://maven.apache.org/
|
||||
@ -101,7 +101,7 @@ rm apache-maven/src/main/appended-resources/META-INF/LICENSE.vm
|
||||
%pom_remove_plugin -r :buildnumber-maven-plugin
|
||||
sed -i "
|
||||
/buildNumber=/ {
|
||||
s/=.*/=openEuler %{version}-%{release}/
|
||||
s/=.*/=%{_vendor} %{version}-%{release}/
|
||||
s/%{dist}$//
|
||||
}
|
||||
/timestamp=/ d
|
||||
@ -177,6 +177,9 @@ if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Tue Apr 19 2022 herengui <herengui@uniontech.com> - 1:3.5.4-12
|
||||
- Modify hardcode openEuler to _vendor macro
|
||||
|
||||
* Fri Feb 25 2022 wangkai <wangkai385@huawei.com> - 1:3.5.4-11
|
||||
- Rebuild for fix log4j1.x cves
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user