[1189] | 1 | --- openafs.spec.orig 2009-06-03 04:16:03.000000000 -0400 |
---|
| 2 | +++ openafs.spec 2009-06-12 02:05:57.000000000 -0400 |
---|
[925] | 3 | @@ -8,7 +8,7 @@ |
---|
| 4 | # for beta/rc releases make pkgrel 0.X.<tag> |
---|
| 5 | # for real releases make pkgrel 1 (or more for extra releases) |
---|
| 6 | #%define pkgrel 0.1.rc1 |
---|
| 7 | -%define pkgrel 1.1 |
---|
[930] | 8 | +%define pkgrel 1.1.99scripts.%{scriptsversion} |
---|
[925] | 9 | |
---|
| 10 | %if %{?osvers:0}%{!?osvers:1} |
---|
| 11 | %define osvers 1 |
---|
[1189] | 12 | @@ -261,6 +261,14 @@ |
---|
[760] | 13 | %endif |
---|
| 14 | ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64 |
---|
| 15 | |
---|
[1] | 16 | +Patch1000: openafs-scripts.patch |
---|
[902] | 17 | +Patch1001: openafs-postinit.patch |
---|
[907] | 18 | +Patch1002: openafs-pts-encrypt.patch |
---|
[1079] | 19 | +Patch1003: openafs-localcsdb.patch |
---|
[1139] | 20 | +Patch1004: openafs-delta-dprintf-rename-20090427.patch |
---|
[1172] | 21 | +Patch1005: openafs-numsysnames.patch |
---|
[1189] | 22 | +Patch1006: openafs-delta-linux26-defer-cred-changing-20090511.patch |
---|
[1] | 23 | + |
---|
| 24 | # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... |
---|
| 25 | Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 |
---|
| 26 | Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 |
---|
[1189] | 27 | @@ -343,6 +351,7 @@ |
---|
[925] | 28 | %if %{build_userspace} |
---|
[1] | 29 | |
---|
[925] | 30 | %package client |
---|
| 31 | +Provides: scripts-openafs-client |
---|
| 32 | Requires: binutils, openafs = %{PACKAGE_VERSION} |
---|
| 33 | |
---|
| 34 | %if %{fedorakmod} |
---|
[1189] | 35 | @@ -403,6 +412,7 @@ |
---|
[925] | 36 | |
---|
| 37 | %if %{build_authlibs} |
---|
| 38 | %package authlibs |
---|
| 39 | +Provides: scripts-openafs-authlibs |
---|
| 40 | Summary: OpenAFS authentication shared libraries |
---|
| 41 | Group: Networking/Filesystems |
---|
| 42 | |
---|
[1189] | 43 | @@ -419,6 +429,7 @@ |
---|
[925] | 44 | %endif |
---|
| 45 | |
---|
| 46 | %package authlibs-devel |
---|
| 47 | +Provides: scripts-openafs-authlibs-devel |
---|
| 48 | %if %{build_authlibs} |
---|
| 49 | Requires: openafs-authlibs = %{PACKAGE_VERSION} |
---|
| 50 | %endif |
---|
[1189] | 51 | @@ -437,6 +448,7 @@ |
---|
[925] | 52 | libraries. |
---|
| 53 | |
---|
| 54 | %package devel |
---|
| 55 | +Provides: scripts-openafs-devel |
---|
| 56 | Summary: OpenAFS Development Libraries and Headers |
---|
| 57 | Group: Development/Filesystems |
---|
| 58 | |
---|
[1189] | 59 | @@ -465,6 +477,7 @@ |
---|
[925] | 60 | administrators. |
---|
| 61 | |
---|
| 62 | %package kernel-source |
---|
| 63 | +Provides: scripts-openafs-kernel-source |
---|
| 64 | Summary: OpenAFS Kernel Module source tree |
---|
| 65 | Group: Networking/Filesystems |
---|
| 66 | Provides: openafs-kernel = %{PACKAGE_VERSION} |
---|
[1189] | 67 | @@ -514,6 +527,7 @@ |
---|
[925] | 68 | |
---|
| 69 | %if %{krb5support} |
---|
| 70 | %package krb5 |
---|
| 71 | +Provides: scripts-openafs-krb5 |
---|
| 72 | Summary: OpenAFS programs to use with krb5 |
---|
| 73 | Requires: openafs = %{PACKAGE_VERSION} |
---|
| 74 | Group: Networking/Filesystems |
---|
[1189] | 75 | @@ -540,7 +554,7 @@ |
---|
[929] | 76 | %if %{build_modules} |
---|
| 77 | |
---|
| 78 | %if %{fedorakmod} |
---|
| 79 | -%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)} |
---|
| 80 | +%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)} |
---|
| 81 | |
---|
| 82 | %else |
---|
| 83 | |
---|
[1189] | 84 | @@ -699,6 +713,13 @@ |
---|
[925] | 85 | |
---|
[1] | 86 | # Patch openafs to build a kernel module named "openafs" instead of "libafs" |
---|
| 87 | %patch0 -p1 -b .kmod26 |
---|
[760] | 88 | +%patch1000 -p1 -b .scripts |
---|
[902] | 89 | +%patch1001 -p1 -b .postinit |
---|
[907] | 90 | +%patch1002 -p1 -b .pts-encrypt |
---|
[1079] | 91 | +%patch1003 -p1 -b .localcsdb |
---|
[1139] | 92 | +%patch1004 -p1 -b .dprintf |
---|
[1172] | 93 | +%patch1005 -p1 -b .numsysnames |
---|
[1189] | 94 | +%patch1006 -p1 -b .defercredchanging |
---|
[1] | 95 | |
---|
[760] | 96 | ############################################################################## |
---|
| 97 | # |
---|