diff --git a/dmidecode.spec b/dmidecode.spec
index b0a386b..e9c6c7d 100644
--- a/dmidecode.spec
+++ b/dmidecode.spec
@@ -1,7 +1,7 @@
 Summary:        Tool to analyse BIOS DMI data.
 Name:           dmidecode
 Version:        2.7
-Release: %(R="$Revision: 1.23 $"; RR="${R##: }"; echo ${RR%%?})%{dist}
+Release: %(R="$Revision: 1.24 $"; RR="${R##: }"; echo ${RR%%?})%{?dist}
 Epoch:		1
 Group:          System Environment/Base
 License:        GPL