diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-14 10:05:51 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-04-30 07:51:19 -0400 |
commit | 484141a16f55fcb217b1d34fec737006b7cb5264 (patch) | |
tree | 74fb02b9b81e8e881c4bc6195558f7be65337a88 | |
parent | b830ab156f032e2a8823f1365da2ed6801427e8f (diff) | |
download | sssd-484141a16f55fcb217b1d34fec737006b7cb5264.tar.gz sssd-484141a16f55fcb217b1d34fec737006b7cb5264.tar.bz2 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.
-rw-r--r-- | contrib/sssd.spec.in | 2 | ||||
-rw-r--r-- | contrib/suse/sssd.spec.in | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 0d28f8b3..9d5d3041 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 8fce0b1c..6cddcc06 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} \ |