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

Last change on this file since 1068 was 930, checked in by andersk, 16 years ago
rpmvercmp sucks. Hopefully, there will never be a Linux kernel 100.0.
File size: 2.5 KB
RevLine 
[925]1--- openafs.spec.orig   2009-01-01 13:46:41.000000000 -0500
[926]2+++ openafs.spec        2009-01-01 22:52:30.000000000 -0500
[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
12@@ -261,6 +261,10 @@
[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
[1]19+
20 #    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
21 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
22 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
[925]23@@ -343,6 +347,7 @@
24 %if %{build_userspace}
[1]25 
[925]26 %package client
27+Provides: scripts-openafs-client
28 Requires: binutils, openafs = %{PACKAGE_VERSION}
29 
30 %if %{fedorakmod}
31@@ -403,6 +408,7 @@
32 
33 %if %{build_authlibs}
34 %package authlibs
35+Provides: scripts-openafs-authlibs
36 Summary: OpenAFS authentication shared libraries
37 Group: Networking/Filesystems
38 
39@@ -419,6 +425,7 @@
40 %endif
41 
42 %package authlibs-devel
43+Provides: scripts-openafs-authlibs-devel
44 %if %{build_authlibs}
45 Requires: openafs-authlibs = %{PACKAGE_VERSION}
46 %endif
47@@ -437,6 +444,7 @@
48 libraries.
49 
50 %package devel
51+Provides: scripts-openafs-devel
52 Summary: OpenAFS Development Libraries and Headers
53 Group: Development/Filesystems
54 
55@@ -465,6 +473,7 @@
56 administrators.
57 
58 %package kernel-source
59+Provides: scripts-openafs-kernel-source
60 Summary: OpenAFS Kernel Module source tree
61 Group: Networking/Filesystems
62 Provides: openafs-kernel = %{PACKAGE_VERSION}
63@@ -514,6 +523,7 @@
64 
65 %if %{krb5support}
66 %package krb5
67+Provides: scripts-openafs-krb5
68 Summary: OpenAFS programs to use with krb5
69 Requires: openafs = %{PACKAGE_VERSION}
70 Group: Networking/Filesystems
[929]71@@ -550,7 +550,7 @@
72 %if %{build_modules}
73 
74 %if %{fedorakmod}
75-%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
76+%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
77 
78 %else
79 
[925]80@@ -699,6 +709,9 @@
81 
[1]82 # Patch openafs to build a kernel module named "openafs" instead of "libafs"
83 %patch0 -p1 -b .kmod26
[760]84+%patch1000 -p1 -b .scripts
[902]85+%patch1001 -p1 -b .postinit
[907]86+%patch1002 -p1 -b .pts-encrypt
[1]87 
[760]88 ##############################################################################
89 #
Note: See TracBrowser for help on using the repository browser.