# - after ac drop amd64 patch and make x86_64 generic arch + subarchs amd64 and ia32e
#
# Conditional build:
+%bcond_with distver # build with distversion field
%bcond_with static # build static rpmi (not supported at the moment)
%bcond_without apidocs # don't generate documentation with doxygen
%bcond_without pkgnameinautoreq # don't put package name in autogenerated dependancy
Group: Libraries
Requires: db >= %{reqdb_ver}
Requires: popt >= %{reqpopt_ver}
-Provides: rpm-lib(distver)
+%{?with_distver:Provides: rpm-lib(distver)}
# avoid SEGV caused by mixed db versions
Conflicts: poldek < 0.18.1-16
%patch44 -p1
%patch45 -p1
%patch46 -p1
-%patch47 -p1
+%{?with_distver:%patch47 -p1}
%patch100 -p1
%patch3 -p1