Replace openEuler with vendor macro

(cherry picked from commit fc6d8811d7a4f8ebe1a40d8180d38ff79d24790f)
This commit is contained in:
caodongxia 2022-11-17 19:02:20 +08:00 committed by openeuler-sync-bot
parent 43d19f7319
commit e36e30db0c

View File

@ -1,9 +1,10 @@
%global __cmake_in_source_build 1
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
Name: scl-utils
Epoch: 1
Version: 2.0.2
Release: 4
Release: 5
Summary: Utilities for alternative packaging
License: GPLv2+
URL: https://github.com/sclorg/scl-utils
@ -22,7 +23,7 @@ Run-time utility for alternative packaging.
%package build
Summary: RPM build macros for alternative packaging
Requires: iso-codes openEuler-rpm-config
Requires: iso-codes %{vendor}-rpm-config
%description build
Essential RPM build macros for alternative packaging.
@ -71,6 +72,9 @@ ln -s prefixes conf
%{_rpmconfigdir}/brp-scl-python-bytecompile
%changelog
* Thu Nov 17 2022 caodongxia <caodongxia@h-partners.com> - 1:2.0.2-5
- Replace oenEuler with the vendor macro
* Tue Mar 1 2022 yangping <yangping69@huawei.com> - 1:2.0.2-4
- Fix need config