From 38af16f6b9d8b58bcf041ffc19d3687ee86a5b66 Mon Sep 17 00:00:00 2001 From: Michael Schloh von Bennewitz Date: Thu, 8 Aug 2002 17:20:03 +0000 Subject: [PATCH] Deleted an unused variable reference. --- sendmail/sendmail.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/sendmail/sendmail.spec b/sendmail/sendmail.spec index e586ec3416..e2da180db4 100644 --- a/sendmail/sendmail.spec +++ b/sendmail/sendmail.spec @@ -38,8 +38,6 @@ # README file in the mail.local directory. You can force # the install using 'Build force-install'. -%define V_sendmail 8.12.5 - # package information Name: sendmail Summary: Mail Transfer Agent @@ -49,11 +47,11 @@ Packager: The OpenPKG Project Distribution: OpenPKG [BRK] Group: Mail License: BSD -Version: %{V_sendmail} +Version: 8.12.5 Release: 20020808 # list of sources -Source0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{V_sendmail}.tar.gz +Source0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{version}.tar.gz Source1: etc.sendmail.tar Source2: cf.tar Source2: rc.sendmail @@ -82,7 +80,7 @@ Provides: MTA %setup1 -q -T -D -a 1 # add own M4 stuff to Sendmail configuration set - ( cd sendmail-%{V_sendmail} + ( cd sendmail-%{version} %{l_tar} xf %{SOURCE cf.tar} ) @@ -90,12 +88,12 @@ Provides: MTA PATH="%{l_prefix}/bin:$PATH"; export PATH # build Sendmail - ( cd sendmail-%{V_sendmail} + ( cd sendmail-%{version} # indicate with a plus sign that we use a patched version chmod u+w sendmail/version.c %{l_shtool} subst \ - -e 's;\(Version\[\][^"]*\)"[^"]*";\1"%{V_sendmail}+";' \ + -e 's;\(Version\[\][^"]*\)"[^"]*";\1"%{version}+";' \ sendmail/version.c # configure Sendmail @@ -161,7 +159,7 @@ Provides: MTA $RPM_BUILD_ROOT%{l_prefix}/man/cat8 # install Sendmail - ( cd sendmail-%{V_sendmail} + ( cd sendmail-%{version} myusr=`(id -un) 2>/dev/null ||\ (whoami) 2>/dev/null ||\ (who am i | cut "-d " -f1) 2>/dev/null ||\