rpms/pam_krb5/devel pam_krb5.spec,1.76,1.77
Nalin Dahyabhai
nalin at fedoraproject.org
Tue Jul 27 14:38:54 UTC 2010
Author: nalin
Update of /cvs/pkgs/rpms/pam_krb5/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17063
Modified Files:
pam_krb5.spec
Log Message:
- packaging fixes
- build with %%{_smp_mflags}, if set (Parag AN, part of #226225)
- drop explicit buildroot specification and cleanup (Parag AN, part of
#226225)
- drop explicit -fPIC since libtool seems to be doing the right thing (Parag
AN, part of #226225)
Index: pam_krb5.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam_krb5/devel/pam_krb5.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -p -r1.76 -r1.77
--- pam_krb5.spec 8 Mar 2010 22:17:51 -0000 1.76
+++ pam_krb5.spec 27 Jul 2010 14:38:54 -0000 1.77
@@ -1,13 +1,12 @@
Summary: A Pluggable Authentication Module for Kerberos 5
Name: pam_krb5
Version: 2.3.11
-Release: 1%{?dist}
+Release: 2%{?dist}
Source0: https://fedorahosted.org/released/pam_krb5/pam_krb5-%{version}-1.tar.gz
License: BSD or LGPLv2+
Group: System Environment/Base
URL: https://fedorahosted.org/pam_krb5/
BuildRequires: keyutils-libs-devel, krb5-devel, pam-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
This is pam_krb5, a pluggable authentication module that can be used with
@@ -19,15 +18,13 @@ The included pam_krb5afs module also get
%setup -q -n pam_krb5-%{version}-1
%build
-CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
%configure --libdir=/%{_lib} \
--with-default-use-shmem=sshd --with-default-external=sshd \
--with-default-multiple-ccaches="su su-l"
-make
+make %{?_smp_mflags}
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
ln -s pam_krb5.so $RPM_BUILD_ROOT/%{_lib}/security/pam_krb5afs.so
rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la
@@ -36,11 +33,9 @@ sed -ri -e 's|/lib(64)?/|/\$LIB/|g' $RPM
%find_lang %{name}
-%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
-
%files -f %{name}.lang
-%defattr(-,root,root)
+%defattr(-,root,root,-)
+%doc README* COPYING* ChangeLog NEWS
%{_bindir}/*
/%{_lib}/security/pam_krb5.so
/%{_lib}/security/pam_krb5afs.so
@@ -48,9 +43,15 @@ sed -ri -e 's|/lib(64)?/|/\$LIB/|g' $RPM
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man8/*
-%doc README* COPYING* ChangeLog NEWS
%changelog
+* Mon Jul 26 2010 Nalin Dahyabhai <nalin at redhat.com> - 2.3.11-2
+- build with %%{_smp_mflags}, if set (Parag AN, part of #226225)
+- drop explicit buildroot specification and cleanup (Parag AN, part of
+ #226225)
+- drop explicit -fPIC since libtool seems to be doing the right thing (Parag
+ AN, part of #226225)
+
* Mon Mar 8 2010 Nalin Dahyabhai <nalin at redhat.com> - 2.3.11-1
- create creds before calling krb5_kuserok() so that they're available when
it goes to look up the target user's home directory (#563442)
More information about the scm-commits
mailing list