!17 Replace openEuler with vendor

From: @starlet-dx 
Reviewed-by: @gitee-cmd 
Signed-off-by: @gitee-cmd
This commit is contained in:
openeuler-ci-bot 2022-11-18 01:50:14 +00:00 committed by Gitee
commit 1f0870e487
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6,10 +6,11 @@
%global _fontconfig_masterdir %{_sysconfdir}/fonts
%global _fontconfig_confdir %{_sysconfdir}/fonts/conf.d
%global _fontconfig_templatedir %{_datadir}/fontconfig/conf.avail
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
Name: fonts-rpm-macros
Version: 4.0.2
Release: 1
Release: 2
Summary: Build-stage rpm automation for fonts packages
License: GPLv3+
URL: https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy/
@ -33,7 +34,7 @@ will pull it in for fonts packages only.
%package -n fonts-srpm-macros
Summary: Source-stage rpm automation for fonts packages
Requires: openEuler-rpm-config
Requires: %{vendor}-rpm-config
%description -n fonts-srpm-macros
This package provides SRPM-stage rpm automation to simplify the creation of
@ -125,6 +126,9 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}
%doc %{ftcgtemplatedir}/*conf
%changelog
* Thu Nov 17 2022 yaoxin <yaoxin30@h-partners.com> - 4.0.2-2
- Replace openEuler with vendor
* Tue Nov 01 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 4.0.2-1
- upgrade to 4.0.2