1 |
# $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 $ |
2 |
|
|
3 |
# Define the kmod package name here. |
# Define the kmod package name here. |
4 |
%define kmod_name ppp |
%define kmod_name ppp |
9 |
|
|
10 |
Name: %{kmod_name}-kmod |
Name: %{kmod_name}-kmod |
11 |
Version: 1.0.2 |
Version: 1.0.2 |
12 |
Release: 6%{?dist} |
Release: 7%{?dist} |
13 |
Group: System Environment/Kernel |
Group: System Environment/Kernel |
14 |
License: GPL |
License: GPL |
15 |
Summary: %{kmod_name} kernel modules |
Summary: %{kmod_name} kernel modules |
91 |
make -C ${ksrc} SUBDIRS=`pwd` INSTALL_MOD_PATH=$RPM_BUILD_ROOT modinst_dir='$(MODLIB)/extra/'%{kmod_name} modules_install |
make -C ${ksrc} SUBDIRS=`pwd` INSTALL_MOD_PATH=$RPM_BUILD_ROOT modinst_dir='$(MODLIB)/extra/'%{kmod_name} modules_install |
92 |
# make TOPDIR=${ksrc} INSTALL_MOD_PATH=$RPM_BUILD_ROOT INSTALL_MOD_DIR=extra/%{kmod_name}/ modules_install %{?_smp_mflags} |
# make TOPDIR=${ksrc} INSTALL_MOD_PATH=$RPM_BUILD_ROOT INSTALL_MOD_DIR=extra/%{kmod_name}/ modules_install %{?_smp_mflags} |
93 |
cd .. |
cd .. |
94 |
|
|
95 |
|
mkdir -p ${INSTALL_MOD_PATH}/usr/share/doc/kmod-%{kmod_name}/%{kversion}/ |
96 |
|
find ${INSTALL_MOD_PATH}/lib/modules/"%{kversion}${kvariant:+$kvariant}"/ -type f -name \*.ko | sed "s,${INSTALL_MOD_PATH},," \ |
97 |
|
> ${INSTALL_MOD_PATH}/usr/share/doc/kmod-%{kmod_name}/%{kversion}/"modules${kvariant:+-$kvariant}" |
98 |
done |
done |
99 |
|
|
100 |
# Strip the module(s). |
# Strip the module(s). |
105 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
106 |
|
|
107 |
%changelog |
%changelog |
108 |
|
* Wed Apr 21 2010 Shad L. Lords <slords@mail.com> 1.0.2-7.sme |
109 |
|
- Update scriptlets to not call rpm [SME: 5448] |
110 |
|
|
111 |
* Tue Dec 1 2009 Shad L. Lords <slords@mail.com> 1.0.2-6.sme |
* Tue Dec 1 2009 Shad L. Lords <slords@mail.com> 1.0.2-6.sme |
112 |
- Update kmod to fix buffer too small errors [SME: 5628] |
- Update kmod to fix buffer too small errors [SME: 5628] |
113 |
|
|