mirror of
https://src.fedoraproject.org/rpms/nodejs18.git
synced 2024-11-24 17:44:23 +00:00
Define %baserelease to help rpmdev-bumpspec
This commit is contained in:
parent
1cd522fb38
commit
7de27387d9
1 changed files with 7 additions and 1 deletions
|
@ -3,6 +3,12 @@
|
||||||
# use bcond for building modules
|
# use bcond for building modules
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
|
|
||||||
|
# == Master Relase ==
|
||||||
|
# This is used by both the nodejs package and the npm subpackage thar
|
||||||
|
# has a separate version - the name is special so that rpmdev-bumpspec
|
||||||
|
# will bump this rather than adding .1 to the end.
|
||||||
|
%global baserelease 2
|
||||||
|
|
||||||
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
# == Node.js Version ==
|
# == Node.js Version ==
|
||||||
|
@ -18,7 +24,7 @@
|
||||||
# nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h
|
# nodejs_soversion - from NODE_MODULE_VERSION in src/node_version.h
|
||||||
%global nodejs_soversion 72
|
%global nodejs_soversion 72
|
||||||
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
%global nodejs_version %{nodejs_major}.%{nodejs_minor}.%{nodejs_patch}
|
||||||
%global nodejs_release 2
|
%global nodejs_release %{baserelease}
|
||||||
|
|
||||||
# == Bundled Dependency Versions ==
|
# == Bundled Dependency Versions ==
|
||||||
# v8 - from deps/v8/include/v8-version.h
|
# v8 - from deps/v8/include/v8-version.h
|
||||||
|
|
Loading…
Reference in a new issue