source: server/fedora/specs/openafs.spec.patch @ 1119

Last change on this file since 1119 was 1079, checked in by mitchb, 15 years ago
Use only our local CellServDB, not the one in the distribution so that we can track the one used by Athena without further package rebuilds.
File size: 2.6 KB
RevLine 
[1070]1--- openafs.spec.orig   2009-04-08 08:17:00.000000000 -0400
[1079]2+++ openafs.spec        2009-04-14 04:32:44.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
[1079]12@@ -261,6 +261,11 @@
[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
[1]20+
21 #    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
22 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
23 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
[1079]24@@ -343,6 +348,7 @@
[925]25 %if %{build_userspace}
[1]26 
[925]27 %package client
28+Provides: scripts-openafs-client
29 Requires: binutils, openafs = %{PACKAGE_VERSION}
30 
31 %if %{fedorakmod}
[1079]32@@ -403,6 +409,7 @@
[925]33 
34 %if %{build_authlibs}
35 %package authlibs
36+Provides: scripts-openafs-authlibs
37 Summary: OpenAFS authentication shared libraries
38 Group: Networking/Filesystems
39 
[1079]40@@ -419,6 +426,7 @@
[925]41 %endif
42 
43 %package authlibs-devel
44+Provides: scripts-openafs-authlibs-devel
45 %if %{build_authlibs}
46 Requires: openafs-authlibs = %{PACKAGE_VERSION}
47 %endif
[1079]48@@ -437,6 +445,7 @@
[925]49 libraries.
50 
51 %package devel
52+Provides: scripts-openafs-devel
53 Summary: OpenAFS Development Libraries and Headers
54 Group: Development/Filesystems
55 
[1079]56@@ -465,6 +474,7 @@
[925]57 administrators.
58 
59 %package kernel-source
60+Provides: scripts-openafs-kernel-source
61 Summary: OpenAFS Kernel Module source tree
62 Group: Networking/Filesystems
63 Provides: openafs-kernel = %{PACKAGE_VERSION}
[1079]64@@ -514,6 +524,7 @@
[925]65 
66 %if %{krb5support}
67 %package krb5
68+Provides: scripts-openafs-krb5
69 Summary: OpenAFS programs to use with krb5
70 Requires: openafs = %{PACKAGE_VERSION}
71 Group: Networking/Filesystems
[1079]72@@ -540,7 +551,7 @@
[929]73 %if %{build_modules}
74 
75 %if %{fedorakmod}
76-%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
77+%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
78 
79 %else
80 
[1079]81@@ -699,6 +710,10 @@
[925]82 
[1]83 # Patch openafs to build a kernel module named "openafs" instead of "libafs"
84 %patch0 -p1 -b .kmod26
[760]85+%patch1000 -p1 -b .scripts
[902]86+%patch1001 -p1 -b .postinit
[907]87+%patch1002 -p1 -b .pts-encrypt
[1079]88+%patch1003 -p1 -b .localcsdb
[1]89 
[760]90 ##############################################################################
91 #
Note: See TracBrowser for help on using the repository browser.