[1139] | 1 | --- openafs.spec.orig 2009-06-03 04:16:03.000000000 -0400 |
---|
| 2 | +++ openafs.spec 2009-06-03 04:18:10.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 |
---|
[1139] | 12 | @@ -261,6 +261,12 @@ |
---|
[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 |
---|
[1] | 21 | + |
---|
| 22 | # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... |
---|
| 23 | Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 |
---|
| 24 | Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 |
---|
[1139] | 25 | @@ -343,6 +349,7 @@ |
---|
[925] | 26 | %if %{build_userspace} |
---|
[1] | 27 | |
---|
[925] | 28 | %package client |
---|
| 29 | +Provides: scripts-openafs-client |
---|
| 30 | Requires: binutils, openafs = %{PACKAGE_VERSION} |
---|
| 31 | |
---|
| 32 | %if %{fedorakmod} |
---|
[1139] | 33 | @@ -403,6 +410,7 @@ |
---|
[925] | 34 | |
---|
| 35 | %if %{build_authlibs} |
---|
| 36 | %package authlibs |
---|
| 37 | +Provides: scripts-openafs-authlibs |
---|
| 38 | Summary: OpenAFS authentication shared libraries |
---|
| 39 | Group: Networking/Filesystems |
---|
| 40 | |
---|
[1139] | 41 | @@ -419,6 +427,7 @@ |
---|
[925] | 42 | %endif |
---|
| 43 | |
---|
| 44 | %package authlibs-devel |
---|
| 45 | +Provides: scripts-openafs-authlibs-devel |
---|
| 46 | %if %{build_authlibs} |
---|
| 47 | Requires: openafs-authlibs = %{PACKAGE_VERSION} |
---|
| 48 | %endif |
---|
[1139] | 49 | @@ -437,6 +446,7 @@ |
---|
[925] | 50 | libraries. |
---|
| 51 | |
---|
| 52 | %package devel |
---|
| 53 | +Provides: scripts-openafs-devel |
---|
| 54 | Summary: OpenAFS Development Libraries and Headers |
---|
| 55 | Group: Development/Filesystems |
---|
| 56 | |
---|
[1139] | 57 | @@ -465,6 +475,7 @@ |
---|
[925] | 58 | administrators. |
---|
| 59 | |
---|
| 60 | %package kernel-source |
---|
| 61 | +Provides: scripts-openafs-kernel-source |
---|
| 62 | Summary: OpenAFS Kernel Module source tree |
---|
| 63 | Group: Networking/Filesystems |
---|
| 64 | Provides: openafs-kernel = %{PACKAGE_VERSION} |
---|
[1139] | 65 | @@ -514,6 +525,7 @@ |
---|
[925] | 66 | |
---|
| 67 | %if %{krb5support} |
---|
| 68 | %package krb5 |
---|
| 69 | +Provides: scripts-openafs-krb5 |
---|
| 70 | Summary: OpenAFS programs to use with krb5 |
---|
| 71 | Requires: openafs = %{PACKAGE_VERSION} |
---|
| 72 | Group: Networking/Filesystems |
---|
[1139] | 73 | @@ -540,7 +552,7 @@ |
---|
[929] | 74 | %if %{build_modules} |
---|
| 75 | |
---|
| 76 | %if %{fedorakmod} |
---|
| 77 | -%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)} |
---|
| 78 | +%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)} |
---|
| 79 | |
---|
| 80 | %else |
---|
| 81 | |
---|
[1139] | 82 | @@ -699,6 +711,11 @@ |
---|
[925] | 83 | |
---|
[1] | 84 | # Patch openafs to build a kernel module named "openafs" instead of "libafs" |
---|
| 85 | %patch0 -p1 -b .kmod26 |
---|
[760] | 86 | +%patch1000 -p1 -b .scripts |
---|
[902] | 87 | +%patch1001 -p1 -b .postinit |
---|
[907] | 88 | +%patch1002 -p1 -b .pts-encrypt |
---|
[1079] | 89 | +%patch1003 -p1 -b .localcsdb |
---|
[1139] | 90 | +%patch1004 -p1 -b .dprintf |
---|
[1] | 91 | |
---|
[760] | 92 | ############################################################################## |
---|
| 93 | # |
---|