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:51:19 -0400
commit484141a16f55fcb217b1d34fec737006b7cb5264 (patch)
tree74fb02b9b81e8e881c4bc6195558f7be65337a88 /contrib
parentb830ab156f032e2a8823f1365da2ed6801427e8f (diff)
downloadsssd-484141a16f55fcb217b1d34fec737006b7cb5264.tar.gz
sssd-484141a16f55fcb217b1d34fec737006b7cb5264.tar.xz
sssd-484141a16f55fcb217b1d34fec737006b7cb5264.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 0d28f8b3e..9d5d30414 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} \