Changeset 2143 for trunk


Ignore:
Timestamp:
Feb 27, 2012, 1:52:17 PM (13 years ago)
Author:
achernya
Message:
Update openafs to build against kernel 3.2
Location:
trunk/server
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/specs/openafs.spec.patch

    r2066 r2143  
    1 --- rpmbuild/SPECS/openafs.spec
    2 +++ rpmbuild/SPECS/openafs.spec.~3~     2011-11-20 20:13:52.211673609 -0500
     1--- openafs.spec        2012-02-13 15:41:02.757592190 -0500
     2+++ openafs.spec.~3~    2012-02-13 15:48:25.366294629 -0500
    33@@ -4,7 +4,7 @@
    44 %define pkgvers 1.6.0
     
    1010 %{!?fedorakmod: %define fedorakmod 1}
    1111 %{!?build_dkmspkg: %define build_dkmspkg 1}
    12 @@ -237,6 +237,14 @@
     12@@ -237,6 +237,15 @@
    1313 
    1414 ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64
     
    2121+Patch1005: openafs-linux-3.1-fsync.patch
    2222+Patch1006: openafs-linux-3.1-zalloc.patch
     23+Patch1007: openafs-linux-3.2-nlink.patch
    2324+
    2425 #    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    2526 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    2627 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
    27 @@ -316,6 +324,7 @@
     28@@ -316,6 +325,7 @@
    2829 %if %{build_userspace}
    2930 
     
    3334 
    3435 %if %{fedorakmod}
    35 @@ -376,6 +385,7 @@
     36@@ -376,6 +386,7 @@
    3637 
    3738 %if %{build_authlibs}
     
    4142 Group: Networking/Filesystems
    4243 
    43 @@ -392,6 +402,7 @@
     44@@ -392,6 +403,7 @@
    4445 %endif
    4546 
     
    4950 Requires: openafs-authlibs = %{version}-%{release}
    5051 %endif
    51 @@ -410,6 +421,7 @@
     52@@ -410,6 +422,7 @@
    5253 libraries.
    5354 
     
    5758 Group: Development/Filesystems
    5859 Requires: openafs = %{version}-%{release}
    59 @@ -439,6 +451,7 @@
     60@@ -439,6 +452,7 @@
    6061 administrators.
    6162 
     
    6566 Group: Networking/Filesystems
    6667 Provides: openafs-kernel = %{version}
    67 @@ -488,6 +501,7 @@
     68@@ -488,6 +502,7 @@
    6869 
    6970 %if %{krb5support}
     
    7374 Requires: openafs = %{version}
    7475 Group: Networking/Filesystems
    75 @@ -514,7 +528,7 @@
     76@@ -514,7 +529,7 @@
    7677 %if %{build_modules}
    7778 
     
    8283 %else
    8384 
    84 @@ -671,6 +685,15 @@
     85@@ -671,6 +686,16 @@
    8586 #%setup -q -n %{srcdir}
    8687 %setup -q -b 1 -n %{srcdir}
     
    9495+%patch1005 -p1 -b .fsync
    9596+%patch1006 -p1 -b .zalloc
     97+%patch1007 -p1 -b .nlink
    9698+
    9799 ##############################################################################
    98100 #
    99101 # building
    100 @@ -1212,6 +1235,13 @@
     102@@ -1212,6 +1237,13 @@
    101103 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so
    102104 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.*
Note: See TracChangeset for help on using the changeset viewer.