Hello community,

here is the log from the commit of package pam-modules for openSUSE:Factory 
checked in at 2011-12-08 11:30:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam-modules (Old)
 and      /work/SRC/openSUSE:Factory/.pam-modules.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam-modules", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam-modules/pam-modules.changes  2011-09-23 
12:21:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pam-modules.new/pam-modules.changes     
2011-12-08 11:30:26.000000000 +0100
@@ -1,0 +2,15 @@
+Wed Dec  7 13:37:37 UTC 2011 - [email protected]
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+
+-------------------------------------------------------------------
+Fri Dec  2 16:26:03 UTC 2011 - [email protected]
+
+- add automake as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Wed Oct  5 14:34:27 UTC 2011 - [email protected]
+
+- cross-build fix: use %__cc, %configure macros
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam-modules.spec ++++++
--- /var/tmp/diff_new_pack.kkBMPF/_old  2011-12-08 11:30:27.000000000 +0100
+++ /var/tmp/diff_new_pack.kkBMPF/_new  2011-12-08 11:30:27.000000000 +0100
@@ -15,8 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 %if %{suse_version} >= 1100
 %define enable_selinux 1
 %else
@@ -25,11 +23,10 @@
 
 Name:           pam-modules
 Summary:        Additional PAM Modules
-Version:        12.1
-Release:        1
 License:        BSD-3-Clause ; GPL-2.0+
 Group:          System/Libraries
-AutoReqProv:    on
+Version:        12.1
+Release:        0
 #
 Source0:        pam_unix2-2.9.0.tar.bz2
 Source1:        pam_pwcheck-3.13.tar.bz2
@@ -46,8 +43,9 @@
 #
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 PreReq:         permissions
-BuildRequires:  pam-devel
+BuildRequires:  automake
 BuildRequires:  cracklib-devel
+BuildRequires:  pam-devel
 %if %{enable_selinux}
 BuildRequires:  libselinux-devel
 %endif
@@ -81,12 +79,12 @@
 %build
 for i in * ; do
   cd $i;
-  CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-selinux \
-               --libdir=/%{_lib} --mandir=%{_mandir}
+  %configure --enable-selinux \
+               --libdir=/%{_lib}
   make %{?_smp_mflags}
   cd ..
 done
-gcc -o $RPM_BUILD_DIR/unix2_chkpwd -fpie $RPM_OPT_FLAGS -pie %{SOURCE21} -lpam
+%__cc -o $RPM_BUILD_DIR/unix2_chkpwd -fpie $RPM_OPT_FLAGS -pie %{SOURCE21} 
-lpam
 
 %install
 mkdir -p $RPM_BUILD_ROOT/sbin
@@ -104,6 +102,7 @@
 rm -rf $RPM_BUILD_ROOT/%{_lib}/security/*.la
 # Check for module problems.  Specifically, check that every module we just
 # installed can actually be loaded by a minimal PAM-aware application.
+export CC=%__cc
 for module in $RPM_BUILD_ROOT/%{_lib}/security/pam*.so ; do
    if ! sh $RPM_SOURCE_DIR/dlopen.sh -lpam -ldl ${module} ; then
       exit 1
@@ -127,9 +126,6 @@
 %post
 %set_permissions /sbin/unix2_chkpwd
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %verifyscript
 %verify_permissions -e /sbin/unix2_chkpwd
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to