Packaging: add missing dependency to pkgconfig 04/28104/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_3.0_ivi accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m14.3_ivi tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0_ivi accepted/tizen/base/20151223.052324 accepted/tizen/common/20140930.171009 accepted/tizen/ivi/20141009.080617 submit/tizen_base/20151223.111112 submit/tizen_common/20140929.110645 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20141007.444444 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 26 Sep 2014 07:20:31 +0000 (09:20 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 26 Sep 2014 07:21:21 +0000 (09:21 +0200)
Change-Id: I03dda9173b5b92eee38cff5347d77cb8a66aafe3
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
packaging/pam.spec

index 2b5507d..af14c85 100644 (file)
@@ -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