summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-04-14 10:05:51 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-04-30 07:50:58 -0400
commit69c62da35c01d39d05fecafe32bb15a52f07015c (patch)
treef958b452920169fee86401098a16952896a81b9c /contrib
parent576dba543b969989a23a810217fc28351cd2a6ed (diff)
downloadsssd-69c62da35c01d39d05fecafe32bb15a52f07015c.tar.gz
sssd-69c62da35c01d39d05fecafe32bb15a52f07015c.tar.xz
sssd-69c62da35c01d39d05fecafe32bb15a52f07015c.zip
Remove the NSS_LIBS and KRB5_LIBS variables from sssd.spec
Due to the way RPM processes the %configure macro, these variables were not actually being passed down to recursive configure invocations. In other words, they were useless. Futhermore, in more recent Fedora versions (13+), some of the dependencies have moved from -lnss to -lnspr4. As a result, it is safer to rely on the complete output of 'pkg-config nss --libs' instead of restricting to -lnss. The downside to this is that it may result in linking unnecessarily against other NSS components such as libsmime3 and libplc4 (among others). However, since these are already dependencies of libnss itself, there should be no risk of them being unavailable on the platform when installed.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in2
-rw-r--r--contrib/suse/sssd.spec.in2
2 files changed, 0 insertions, 4 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index a8e52873c..be943e5ab 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -197,8 +197,6 @@ A dynamically-growing, reference-counted array
%setup -q
%build
-NSS_LIBS=-lnss3 \
-KRB5_LIBS=-lkrb5 \
%configure \
--with-db-path=%{dbpath} \
--with-pipe-path=%{pipepath} \
diff --git a/contrib/suse/sssd.spec.in b/contrib/suse/sssd.spec.in
index 8fce0b1cf..6cddcc060 100644
--- a/contrib/suse/sssd.spec.in
+++ b/contrib/suse/sssd.spec.in
@@ -100,8 +100,6 @@ time properties
%setup -q
%build
-NSS_LIBS=-lnss3 \
-KRB5_LIBS=-lkrb5 \
%configure \
--without-tests \
--with-db-path=%{dbpath} \