Replace openEuler with _vendor
This commit is contained in:
parent
669f193d21
commit
9f5a4f5eea
@ -1,7 +1,7 @@
|
|||||||
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||||
Name: nodejs-packaging
|
Name: nodejs-packaging
|
||||||
Version: 20
|
Version: 20
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: RPM Macros and Utilities for Node.js Packaging
|
Summary: RPM Macros and Utilities for Node.js Packaging
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -10,7 +10,7 @@ Source0: https://releases.pagure.org/%{name}/%{name}-fedora-%{versio
|
|||||||
#ExclusiveArch: %{nodejs_arches} noarch
|
#ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
#nodejs-devel before 0.10.12 provided these macros and owned /usr/share/node
|
#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
|
%description
|
||||||
This package contains RPM macros and other utilities useful for packaging
|
This package contains RPM macros and other utilities useful for packaging
|
||||||
Node.js modules and applications in RPM-based distributions.
|
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
|
%{_datadir}/node/multiver_modules
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Aug 20 2020 wutao <wutao61@huawei.com> - 20-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user