!2 用%{_vendor}替换openEuler
From: @wu-leilei Reviewed-by: @gitee-cmd Signed-off-by: @gitee-cmd
This commit is contained in:
commit
ccb62c4045
@ -1,7 +1,7 @@
|
||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||
Name: nodejs-packaging
|
||||
Version: 20
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: RPM Macros and Utilities for Node.js Packaging
|
||||
BuildArch: noarch
|
||||
License: MIT
|
||||
@ -10,7 +10,7 @@ Source0: https://releases.pagure.org/%{name}/%{name}-fedora-%{versio
|
||||
#ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: python3
|
||||
#nodejs-devel before 0.10.12 provided these macros and owned /usr/share/node
|
||||
Requires: nodejs(engine) >= 0.10.12 openEuler-rpm-config
|
||||
Requires: nodejs(engine) >= 0.10.12 %{_vendor}-rpm-config
|
||||
%description
|
||||
This package contains RPM macros and other utilities useful for packaging
|
||||
Node.js modules and applications in RPM-based distributions.
|
||||
@ -42,5 +42,8 @@ install -Dpm0644 multiver_modules %{buildroot}%{_datadir}/node/multiver_modules
|
||||
%{_datadir}/node/multiver_modules
|
||||
|
||||
%changelog
|
||||
* Thu Nov 17 2022 wulei <wulei80@h-partners.com> - 20-2
|
||||
- Replace openEuler with %{_vendor}
|
||||
|
||||
* Thu Aug 20 2020 wutao <wutao61@huawei.com> - 20-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user