summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-09-26 09:20:31 +0200
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-09-26 09:21:21 +0200
commit8e4294bb11020f6ba798fb1fdc460beaf0a47c31 (patch)
treef67c6955afb6cf73e2f4ead852d20ac9cd017b3f
parenta67b6f8ae9bd2628dfa9e6162781216b41e56131 (diff)
downloadpam-accepted/tizen_3.0.2014.q3_common.tar.gz
pam-accepted/tizen_3.0.2014.q3_common.tar.bz2
pam-accepted/tizen_3.0.2014.q3_common.zip
Change-Id: I03dda9173b5b92eee38cff5347d77cb8a66aafe3 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rw-r--r--packaging/pam.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/pam.spec b/packaging/pam.spec
index 2b5507d..af14c85 100644
--- a/packaging/pam.spec
+++ b/packaging/pam.spec
@@ -26,6 +26,7 @@ BuildRequires: net-tools
BuildRequires: zlib-devel
BuildRequires: gettext-tools
BuildRequires: smack-devel
+BuildRequires: pkgconfig
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/install
Requires(postun): /sbin/ldconfig
@@ -83,7 +84,7 @@ rm -rf %{buildroot}%{_datadir}/doc/Linux-PAM
rm -f %{buildroot}%{_sysconfdir}/environment
for phase in auth acct passwd session ; do
- ln -sf pam_unix.so %{buildroot}%{_moduledir}/pam_unix_${phase}.so
+ ln -sf pam_unix.so %{buildroot}%{_moduledir}/pam_unix_${phase}.so
done
# Install default pam configuration files
@@ -96,10 +97,10 @@ install -m 0644 %{SOURCE2} %{buildroot}%{_pamconfdir}/
%post
/sbin/ldconfig
if [ ! -a /var/log/faillog ] ; then
- /usr/bin/install -m 600 /dev/null /var/log/faillog
+ /usr/bin/install -m 600 /dev/null /var/log/faillog
fi
if [ ! -a /var/log/tallylog ] ; then
- /usr/bin/install -m 600 /dev/null /var/log/tallylog
+ /usr/bin/install -m 600 /dev/null /var/log/tallylog
fi
%postun -p /sbin/ldconfig