!18 Replace openEuler with vendor macro
From: @caodongxia Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
e161cef488
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user