* configure.in: Rename RH_VERSION to RPM_VERSION - not every

rpm-based system is Red Hat.  Replace all dashes, not just one.
This commit is contained in:
Pavel Roskin 2002-10-08 20:44:58 +00:00
parent 1e5c072969
commit 438e723a5a
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2002-10-08 Pavel Roskin <proski@gnu.org>
* configure.in: Rename RH_VERSION to RPM_VERSION - not every
rpm-based system is Red Hat. Replace all dashes, not just one.
* acinclude.m4 (MC_WITH_MCSLANG): Check for terminfo and use
termcap if terminfo is missing in the known locations.
* configure.in: Remove --with-termcap processing, it is now in

View File

@ -539,7 +539,7 @@ dnl Libraries used only when building the mc binary
AC_SUBST(MCLIBS)
dnl Version for the RedHat package, without dashes
RH_VERSION=`echo $VERSION | sed 's/-//'`
RPM_VERSION=`echo $VERSION | sed 's/-//g'`
AC_SUBST(RH_VERSION)
if test -n "$use_smbfs"; then

View File

@ -7,13 +7,13 @@
# Note that this is NOT a relocatable package
%define ver @VERSION@
%define rhver @RH_VERSION@
%define rpmver @RPM_VERSION@
%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
Summary: Midnight Commander visual shell
Name: mc
Version: %rhver
Version: %rpmver
Release: %rel
Epoch: 1
Copyright: GPL