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