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 <w...@denx.de>
---
 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 5c7e2ae..875db3d 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
-- 
2.29.2


_______________________________________________
Exmh-workers mailing list
Exmh-workers@redhat.com
https://listman.redhat.com/mailman/listinfo/exmh-workers

Reply via email to