diff --git a/scl-utils.spec b/scl-utils.spec index 79378173daed199f6a82ec1761592787330777a4..b6f3b42997a04b29e473d1cd8f6a7cf237b0d666 100644 --- a/scl-utils.spec +++ b/scl-utils.spec @@ -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 - 1:2.0.2-5 +- Replace oenEuler with the vendor macro + * Tue Mar 1 2022 yangping - 1:2.0.2-4 - Fix need config