Last change
on this file since 480 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
|
Rev | Line | |
---|
[1] | 1 | --- openafs.spec.old 2006-09-08 15:18:45.000000000 -0400 |
---|
| 2 | +++ openafs.spec 2006-09-16 21:45:20.000000000 -0400 |
---|
| 3 | @@ -182,6 +182,8 @@ |
---|
| 4 | BuildRequires: %{?kdepend:%{kdepend}, } pam-devel |
---|
| 5 | ExclusiveArch: %{ix86} x86_64 ia64 |
---|
| 6 | |
---|
| 7 | +Patch1000: openafs-scripts.patch |
---|
| 8 | + |
---|
| 9 | # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... |
---|
| 10 | Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 |
---|
| 11 | Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 |
---|
[32] | 12 | @@ -556,6 +558,10 @@ |
---|
[1] | 13 | #%setup -q -n %{srcdir} |
---|
| 14 | %setup -q -b 1 -n %{srcdir} |
---|
| 15 | |
---|
| 16 | +%patch1000 -p1 -b .scripts |
---|
| 17 | + |
---|
[32] | 18 | +grep -rl '#include <linux/config.h>' . | xargs perl -pi -e's,#include <linux/config.h>,/* #include <linux/config.h> */,' |
---|
| 19 | + |
---|
[1] | 20 | # Patch openafs to build a kernel module named "openafs" instead of "libafs" |
---|
| 21 | %patch0 -p1 -b .kmod26 |
---|
| 22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.