diff --git a/ldap2dns.spec.in b/ldap2dns.spec.in index fb80f60..e004da5 100644 --- a/ldap2dns.spec.in +++ b/ldap2dns.spec.in @@ -40,7 +40,8 @@ ldap2dns is designed to write the text data files used by tinydns, but also may be used to write zone files used by Bind. # RedHat defaults to building the debug_package while SuSE does not -%if %{undefined suse_version} +# If we detect SuSE then build the debug_package +%if 0%{?suse_version} %debug_package %endif