/[smeserver]/rpms/appletalk-kmod/sme7/appletalk-kmod.spec
ViewVC logotype

Diff of /rpms/appletalk-kmod/sme7/appletalk-kmod.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.24 by slords, Wed Oct 28 18:42:31 2009 UTC Revision 1.25 by slords, Wed Apr 21 16:05:43 2010 UTC
# Line 1  Line 1 
1  # $Id: appletalk-kmod.spec,v 1.23 2009/05/26 17:12:40 slords Exp $  # $Id: appletalk-kmod.spec,v 1.24 2009/10/28 18:42:31 slords Exp $
2    
3  # Define the kmod package name here.  # Define the kmod package name here.
4  %define  kmod_name appletalk  %define  kmod_name appletalk
# Line 9  Line 9 
9    
10  Name:    %{kmod_name}-kmod  Name:    %{kmod_name}-kmod
11  Version: 1.0  Version: 1.0
12  Release: 5%{?dist}  Release: 6%{?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
# Line 80  for kvariant in %{kvariants} ; do Line 80  for kvariant in %{kvariants} ; do
80      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
81      # 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}
82      cd ..      cd ..
83    
84        mkdir -p ${INSTALL_MOD_PATH}/usr/share/doc/kmod-%{kmod_name}/%{kversion}/
85        find ${INSTALL_MOD_PATH}/lib/modules/"%{kversion}${kvariant:+$kvariant}"/ -type f -name \*.ko | sed "s,${INSTALL_MOD_PATH},," \
86            > ${INSTALL_MOD_PATH}/usr/share/doc/kmod-%{kmod_name}/%{kversion}/"modules${kvariant:+-$kvariant}"
87  done  done
88    
89  # Strip the module(s).  # Strip the module(s).
# Line 90  find ${INSTALL_MOD_PATH} -type f -name \ Line 94  find ${INSTALL_MOD_PATH} -type f -name \
94  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
95    
96  %changelog  %changelog
97    * Wed Apr 21 2010 Shad L. Lords <slords@mail.com> 1.0-6.sme
98    - Update scriptlets to not call rpm [SME: 5448]
99    
100  * Tue Oct 26 2009 Shad L. Lords <slords@mail.com> 1.0-5.sme  * Tue Oct 26 2009 Shad L. Lords <slords@mail.com> 1.0-5.sme
101  - Make preuninstall script not fail on upgrade  - Make preuninstall script not fail on upgrade
102    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed