diff --git a/ldb.spec b/ldb.spec index 8b301d9..6814d56 100644 --- a/ldb.spec +++ b/ldb.spec @@ -23,6 +23,9 @@ %define tevent_version 0.9.17 Name: ldb +%if 0%{?suse_version} > 1220 +BuildRequires: gpg-offline +%endif #!BuildIgnore: libtalloc BuildRequires: libtalloc-devel >= %{talloc_version} BuildRequires: libtdb-devel >= %{tdb_version} @@ -32,9 +35,6 @@ BuildRequires: pytalloc-devel >= %{talloc_version} BuildRequires: python-devel BuildRequires: python-tdb >= %{tdb_version} BuildRequires: python-tevent >= %{tevent_version} -%if 0%{?suse_version} > 1220 -BuildRequires: gpg-offline -%endif %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140 %define build_make_smp_mflags %{?_smp_mflags} %else