mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-07 10:54:29 +03:00
* 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:
parent
1e5c072969
commit
438e723a5a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user