mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-21 16:42:19 +08:00
added "--with-rpm-release" configure option to set the RPM release number
the distro tag, if supplied, is still part of the release value
This commit is contained in:
parent
65d1b0a623
commit
811c894d78
@ -221,6 +221,13 @@ AC_ARG_WITH([rpm-distro],
|
|||||||
[set Linux distribution tag for use in RPM version string])],
|
[set Linux distribution tag for use in RPM version string])],
|
||||||
[AC_SUBST(DISTRO, $with_rpm_distro)])
|
[AC_SUBST(DISTRO, $with_rpm_distro)])
|
||||||
|
|
||||||
|
dnl set RPM release tag
|
||||||
|
AC_ARG_WITH([rpm-release],
|
||||||
|
[AC_HELP_STRING([--with-rpm-release=RELEASE],
|
||||||
|
[set release number for RPM release field])],
|
||||||
|
[], [with_rpm_release=1])
|
||||||
|
AC_SUBST(RPM_RELEASE, $with_rpm_release)
|
||||||
|
|
||||||
dnl enable Linux OpenIPMI interface
|
dnl enable Linux OpenIPMI interface
|
||||||
AC_ARG_ENABLE([intf-open],
|
AC_ARG_ENABLE([intf-open],
|
||||||
[AC_HELP_STRING([--enable-intf-open],
|
[AC_HELP_STRING([--enable-intf-open],
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
Name: ipmitool
|
Name: ipmitool
|
||||||
Summary: ipmitool - Utility for IPMI control
|
Summary: ipmitool - Utility for IPMI control
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Release: 1%{?_distro:.%{_distro}}
|
Release: @RPM_RELEASE@%{?_distro:.%{_distro}}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Utilities
|
Group: Utilities
|
||||||
Packager: Duncan Laurie <duncan@iceblink.org>
|
Packager: Duncan Laurie <duncan@iceblink.org>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user