SPECS: pam.spec - bcond and general cleanup - removed unneeded BRs

baggins baggins at pld-linux.org
Thu Jul 14 17:35:04 CEST 2005


Author: baggins                      Date: Thu Jul 14 15:35:04 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond and general cleanup
- removed unneeded BRs

---- Files affected:
SPECS:
   pam.spec (1.219 -> 1.220) 

---- Diffs:

================================================================
Index: SPECS/pam.spec
diff -u SPECS/pam.spec:1.219 SPECS/pam.spec:1.220
--- SPECS/pam.spec:1.219	Wed Jul 13 12:36:27 2005
+++ SPECS/pam.spec	Thu Jul 14 17:34:59 2005
@@ -22,7 +22,7 @@
 Summary(uk):	śÎÓÔŇŐÍĹÎÔ, ÝĎ ÚÁÂĹÚĐĹŢŐ¤ ÁŐÔĹÎÔÉĆŚËÁĂŚŔ ÄĚŃ ĐŇĎÇŇÁÍ
 Name:		pam
 Version:	0.79.2
-Release:	1
+Release:	1.1
 Epoch:		0
 License:	GPL or BSD
 Group:		Base
@@ -30,8 +30,6 @@
 # Source0-md5:	1e10b2c27b35a9fa8af319d0a8a71dce
 Source1:	system-auth.pamd
 URL:		http://www.kernel.org/pub/linux/libs/pam/
-BuildRequires:	autoconf
-BuildRequires:	automake
 BuildRequires:	bison
 BuildRequires:	cracklib-devel
 BuildRequires:	db-devel
@@ -51,8 +49,6 @@
 BuildRequires:	tetex-format-latex
 BuildRequires:	tetex-metafont
 BuildRequires:	tetex-tex-babel
-%else
-BuildRequires:	sed >= 4.0
 %endif
 Requires:	awk
 Requires:	cracklib
@@ -265,27 +261,21 @@
 %prep
 %setup -q -n %{name}-pld-%{version}
 
-%{!?with_doc:sed -i -e '/all-local:/d' doc/Makefile.am}
-
 %build
-find . -name Makefile.am | xargs %{__perl} -pi -e 's#modulesdir.*=.*\@prefix\@/lib#modulesdir = \@libdir\@#g'
-find . -name Makefile.am | xargs %{__perl} -pi -e 's#pammodutildir.*=.*\@prefix\@/lib#pammodutildir = \@libdir\@#g'
-find . -type f | xargs %{__perl} -pi -e 's#/lib/security#/%{_lib}/security#g'
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
+find doc/ -type f | xargs %{__perl} -pi -e 's#/lib/security#/%{_lib}/security#g'
 CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64"
 %configure \
-	%{!?with_cap:ac_cv_lib_cap_cap_init=no} \
-	%{!?with_opie:ac_cv_lib_opie_opieverify=no} \
-	%{!?with_pwdb:ac_cv_lib_pwdb_pwdb_posix_getlogin=no} \
-	%{!?with_skey:ac_cv_lib_skey_skeyaccess=no} \
-	%{!?with_tcpd:libwrap=no} \
+	%{!?with_doc:--without-docs} \
+	%{!?with_cap:--disable-cap} \
+	%{!?with_opie:--disable-opie} \
+	%{!?with_pwdb:--disable-pwdb} \
+	%{!?with_skey:--disable-skey} \
+	%{!?with_tcpd:--disable-tcpd} \
 	%{?with_pwexport:--enable-want-pwexport-module} \
 	%{!?with_selinux:--disable-selinux} \
 	%{!?with_prelude:--disable-prelude} \
 	--enable-strong-crypto
+
 %{__make}
 
 %install
@@ -457,6 +447,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.220  2005/07/14 15:34:59  baggins
+- bcond and general cleanup
+- removed unneeded BRs
+
 Revision 1.219  2005/07/13 10:36:27  baggins
 - fixed source0 and md5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pam.spec?r1=1.219&r2=1.220&f=u




More information about the pld-cvs-commit mailing list