modify hardcode openEuler to _vendor macro

Signed-off-by: herengui <herengui@uniontech.com>
This commit is contained in:
herengui 2022-04-19 10:52:06 +08:00
parent 70ffae29bb
commit 1e74f1464b

View File

@ -5,7 +5,7 @@
Name: maven Name: maven
Epoch: 1 Epoch: 1
Version: 3.5.4 Version: 3.5.4
Release: 11 Release: 12
Summary: Java project management and project comprehension tool Summary: Java project management and project comprehension tool
License: ASL 2.0 and MIT License: ASL 2.0 and MIT
URL: http://maven.apache.org/ 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 %pom_remove_plugin -r :buildnumber-maven-plugin
sed -i " sed -i "
/buildNumber=/ { /buildNumber=/ {
s/=.*/=openEuler %{version}-%{release}/ s/=.*/=%{_vendor} %{version}-%{release}/
s/%{dist}$// s/%{dist}$//
} }
/timestamp=/ d /timestamp=/ d
@ -177,6 +177,9 @@ if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi
%license LICENSE NOTICE %license LICENSE NOTICE
%changelog %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 * Fri Feb 25 2022 wangkai <wangkai385@huawei.com> - 1:3.5.4-11
- Rebuild for fix log4j1.x cves - Rebuild for fix log4j1.x cves