[PATCH] Fix RPM version variable
Wolfgang Denk <[email protected]> Wed, 13 Jun 2012 00:12:27 +0200
| Newsgroups | gmane.mail.exmh.devel |
|---|---|
| Message-ID | <[email protected]> |
Change %{PACKAGE_VERSION} into %{version} as the former is unknown to
recent versions of RPM, which results in build errors as
line 39: cd: exmh-%{PACKAGE_VERSION}: No such file or directory
Signed-off-by: Wolfgang Denk <[email protected]>
---
misc/RPM/exmh.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/RPM/exmh.spec b/misc/RPM/exmh.spec
index f2b090b..5d2c7e8 100644
--- a/misc/RPM/exmh.spec
+++ b/misc/RPM/exmh.spec
@@ -60,7 +60,7 @@ The misc package contains user contributed programs which work well with
exmh.
%prep
-%setup -q -n exmh-%{PACKAGE_VERSION}
+%setup -q -n exmh-%{version}
for i in *.MASTER; do
cp $i ${i%%.MASTER}
done
--
1.7.10.2