summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-04-13 12:55:07 -0400
committerSimo Sorce <ssorce@redhat.com>2009-04-13 14:00:43 -0400
commitacd073a5e86a6c277c2058d28e506f37a5934736 (patch)
treef52f647e999c8ed8628299b3eb9819d0add51c49
parentbf3328d477a988721e06b3d88cde95734eba36ad (diff)
downloadsssd-acd073a5e86a6c277c2058d28e506f37a5934736.tar.gz
sssd-acd073a5e86a6c277c2058d28e506f37a5934736.tar.bz2
sssd-acd073a5e86a6c277c2058d28e506f37a5934736.zip
Build fixes for RPM packaging of SSSD
We were missing several BuildRequires for the autotools. Also, we were linking against two external libraries in the common code that we do not actually use.
-rw-r--r--common/collection/Makefile.am2
-rw-r--r--common/ini/Makefile.am2
-rw-r--r--sssd.spec4
3 files changed, 6 insertions, 2 deletions
diff --git a/common/collection/Makefile.am b/common/collection/Makefile.am
index a47f8f99..c47327d4 100644
--- a/common/collection/Makefile.am
+++ b/common/collection/Makefile.am
@@ -16,4 +16,4 @@ include_HEADERS = collection.h collection_tools.h
# Build unit test
noinst_PROGRAMS = collection_ut
collection_ut_SOURCES = collection_ut.c
-collection_ut_LDADD = libcollection.la -lm -lz
+collection_ut_LDADD = libcollection.la
diff --git a/common/ini/Makefile.am b/common/ini/Makefile.am
index 962172f6..7b5324db 100644
--- a/common/ini/Makefile.am
+++ b/common/ini/Makefile.am
@@ -16,4 +16,4 @@ include_HEADERS = ini_config.h
# Build unit test
noinst_PROGRAMS = ini_config_ut
ini_config_ut_SOURCES = ini_config_ut.c
-ini_config_ut_LDADD = libini_config.la -lm -lz ../collection/libcollection.la \ No newline at end of file
+ini_config_ut_LDADD = libini_config.la ../collection/libcollection.la
diff --git a/sssd.spec b/sssd.spec
index 88da56f9..31e18f7d 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -24,6 +24,9 @@ Requires(postun): /sbin/service
### Build Dependencies ###
BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: m4
BuildRequires: popt-devel
BuildRequires: libtalloc-devel
BuildRequires: libtevent-devel
@@ -35,6 +38,7 @@ BuildRequires: openldap-devel
BuildRequires: pam-devel
BuildRequires: nss-devel
BuildRequires: nspr-devel
+BuildRequires: pcre-devel
%description
Provides a set of daemons to manage access to remote directories and