--- rpms/ppp-kmod/sme7/ppp-kmod.spec 2009/12/01 15:41:56 1.25 +++ rpms/ppp-kmod/sme7/ppp-kmod.spec 2010/04/21 16:05:33 1.26 @@ -1,4 +1,4 @@ -# $Id: ppp-kmod.spec,v 1.24 2009/10/28 18:42:41 slords Exp $ +# $Id: ppp-kmod.spec,v 1.25 2009/12/01 15:41:56 slords Exp $ # Define the kmod package name here. %define kmod_name ppp @@ -9,7 +9,7 @@ Name: %{kmod_name}-kmod Version: 1.0.2 -Release: 6%{?dist} +Release: 7%{?dist} Group: System Environment/Kernel License: GPL Summary: %{kmod_name} kernel modules @@ -91,6 +91,10 @@ for kvariant in %{kvariants} ; do make -C ${ksrc} SUBDIRS=`pwd` INSTALL_MOD_PATH=$RPM_BUILD_ROOT modinst_dir='$(MODLIB)/extra/'%{kmod_name} modules_install # make TOPDIR=${ksrc} INSTALL_MOD_PATH=$RPM_BUILD_ROOT INSTALL_MOD_DIR=extra/%{kmod_name}/ modules_install %{?_smp_mflags} cd .. + + mkdir -p ${INSTALL_MOD_PATH}/usr/share/doc/kmod-%{kmod_name}/%{kversion}/ + find ${INSTALL_MOD_PATH}/lib/modules/"%{kversion}${kvariant:+$kvariant}"/ -type f -name \*.ko | sed "s,${INSTALL_MOD_PATH},," \ + > ${INSTALL_MOD_PATH}/usr/share/doc/kmod-%{kmod_name}/%{kversion}/"modules${kvariant:+-$kvariant}" done # Strip the module(s). @@ -101,6 +105,9 @@ find ${INSTALL_MOD_PATH} -type f -name \ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Apr 21 2010 Shad L. Lords 1.0.2-7.sme +- Update scriptlets to not call rpm [SME: 5448] + * Tue Dec 1 2009 Shad L. Lords 1.0.2-6.sme - Update kmod to fix buffer too small errors [SME: 5628]