!33 [sync] PR-30: 用%{_vendor}替换openEuler

From: @openeuler-sync-bot 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2024-03-29 02:11:25 +00:00 committed by Gitee
commit 6eccdb9401
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -5,7 +5,7 @@
Name: maven Name: maven
Epoch: 1 Epoch: 1
Version: 3.6.3 Version: 3.6.3
Release: 1 Release: 2
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/
@ -108,7 +108,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
@ -192,6 +192,9 @@ if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi
%license LICENSE NOTICE %license LICENSE NOTICE
%changelog %changelog
* Thu Nov 17 2022 wulei <wulei80@h-partners.com> - 1:3.6.3-2
- Replace openEuler with %{_vendor}
* Mon Feb 21 2022 Ge Wang <wangge20@huawei.com> - 1:3.6.3-1 * Mon Feb 21 2022 Ge Wang <wangge20@huawei.com> - 1:3.6.3-1
- upgrade to version 3.6.3 - upgrade to version 3.6.3