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
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