- Initialize libgcrypt correctly (#530485)

This commit is contained in:
Steve Grubb 2009-11-09 18:07:06 +00:00
parent af2e1397d3
commit d0d096b608

View File

@ -22,7 +22,9 @@ Patch5: aide-0.13.1-libgrypt-init.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
BuildRequires: mktemp BuildRequires: mktemp
BuildRequires: prelink autoconf automake elfutils-libelf-devel BuildRequires: prelink autoconf automake elfutils-libelf-devel
%if 0%{?rhel} == 0
Buildrequires: mhash-devel Buildrequires: mhash-devel
%endif
Buildrequires: zlib-devel libgcrypt-devel Buildrequires: zlib-devel libgcrypt-devel
Buildrequires: flex bison Buildrequires: flex bison
Buildrequires: libattr-devel libacl-devel libselinux-devel Buildrequires: libattr-devel libacl-devel libselinux-devel
@ -51,13 +53,15 @@ autoreconf
%configure --with-config_file=%{_sysconfdir}/aide.conf \ %configure --with-config_file=%{_sysconfdir}/aide.conf \
--with-zlib \ --with-zlib \
--disable-static \ --disable-static \
%if 0%{?rhel} == 0
--with-mhash \ --with-mhash \
%endif
%{?_with_curl} %{?_without_curl} \ %{?_with_curl} %{?_without_curl} \
--with-selinux --with-posix-acl --with-audit \ --with-selinux --with-posix-acl --with-audit \
--with-xattr \ --with-xattr \
--with-prelink --with-prelink
make %{?_smp_mflags} make
%install %install