Add -i to autoreconf so it adds the test-driver script

- Add libtool-ltdl-devel BuildRequires
This commit is contained in:
Steve 2013-03-11 11:05:59 -04:00
parent 323e0628d1
commit b66354ecd8
2 changed files with 17 additions and 2 deletions

View File

@ -0,0 +1,11 @@
diff -urp prelude-manager-1.0.1.orig/src/prelude-manager.c prelude-manager-1.0.1/src/prelude-manager.c
--- prelude-manager-1.0.1.orig/src/prelude-manager.c 2009-05-13 07:10:06.000000000 -0400
+++ prelude-manager-1.0.1/src/prelude-manager.c 2013-03-11 10:59:26.744000000 -0400
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <signal.h>
#include <assert.h>
+#include <ltdl.h>
#include <libprelude/prelude.h>
#include <libprelude/prelude-log.h>

View File

@ -13,13 +13,15 @@ Source1: %{name}.service
Patch1: %{name}-1.0.1-pie.patch
# Adjust bundled gnulib to pass compilation with glibc-2.16.6
Patch2: %{name}-1.0.1-Fix-building-with-glibc-2.16.6.patch
# Fix problems caused by libtool-ltdl ABI change
Patch3: prelude-manager-1.0.1-ltdl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libpreludedb-devel, libxml2-devel
BuildRequires: libprelude-devel >= 0.9.21.3
BuildRequires: tcp_wrappers-devel
# For libprelude-1.0.0-Fix-building-with-glibc-2.16.6.patch:
BuildRequires: autoconf, automake
BuildRequires: autoconf, automake, libtool, libtool-ltdl-devel
BuildRequires: systemd-units
Requires(pre) : /usr/sbin/useradd
Requires(post): systemd-units
@ -73,6 +75,7 @@ This plugin adds alerting by email capabilities to prelude-manager
%setup -q
#%patch1 -p1
%patch2 -p1
%patch3 -p1
autoreconf -i
%build
@ -157,8 +160,9 @@ getent passwd prelude-manager >/dev/null || \
%changelog
* Sun Mar 10 2013 Steve Grubb <sgrubb@redhat.com> - 1.0.1-7
* Mon Mar 11 2013 Steve Grubb <sgrubb@redhat.com> - 1.0.1-7
- Add -i to autoreconf so it adds the test-driver script
- Add libtool-ltdl-devel BuildRequires
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild