source: server/fedora/specs/openafs.spec.patch @ 422

Last change on this file since 422 was 32, checked in by jbarnold, 18 years ago
added code from atrpms.net to make openafs work with 2.6.18
File size: 826 bytes
  • openafs.spec

    old new  
    182182BuildRequires: %{?kdepend:%{kdepend}, } pam-devel
    183183ExclusiveArch: %{ix86} x86_64 ia64
    184184
     185Patch1000: openafs-scripts.patch
     186
    185187#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    186188Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    187189Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
     
    556558#%setup -q -n %{srcdir}
    557559%setup -q -b 1 -n %{srcdir}
    558560
     561%patch1000 -p1 -b .scripts
     562
     563grep -rl '#include <linux/config.h>' . | xargs perl -pi -e's,#include <linux/config.h>,/* #include <linux/config.h> */,'
     564
    559565# Patch openafs to build a kernel module named "openafs" instead of "libafs"
    560566%patch0 -p1 -b .kmod26
    561567
Note: See TracBrowser for help on using the repository browser.