source: tags/fc9-eol/server/fedora/specs/openafs.spec.patch @ 2843

Last change on this file since 2843 was 1079, checked in by mitchb, 16 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
  • openafs.spec

    old new  
    88# for beta/rc releases make pkgrel 0.X.<tag>
    99# for real releases make pkgrel 1 (or more for extra releases)
    1010#%define pkgrel 0.1.rc1
    11 %define pkgrel 1.1
     11%define pkgrel 1.1.99scripts.%{scriptsversion}
    1212
    1313%if %{?osvers:0}%{!?osvers:1}
    1414%define osvers 1
     
    261261%endif
    262262ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64
    263263
     264Patch1000: openafs-scripts.patch
     265Patch1001: openafs-postinit.patch
     266Patch1002: openafs-pts-encrypt.patch
     267Patch1003: openafs-localcsdb.patch
     268
    264269#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265270Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266271Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
     
    343348%if %{build_userspace}
    344349
    345350%package client
     351Provides: scripts-openafs-client
    346352Requires: binutils, openafs = %{PACKAGE_VERSION}
    347353
    348354%if %{fedorakmod}
     
    403409
    404410%if %{build_authlibs}
    405411%package authlibs
     412Provides: scripts-openafs-authlibs
    406413Summary: OpenAFS authentication shared libraries
    407414Group: Networking/Filesystems
    408415
     
    419426%endif
    420427
    421428%package authlibs-devel
     429Provides: scripts-openafs-authlibs-devel
    422430%if %{build_authlibs}
    423431Requires: openafs-authlibs = %{PACKAGE_VERSION}
    424432%endif
     
    437445libraries.
    438446
    439447%package devel
     448Provides: scripts-openafs-devel
    440449Summary: OpenAFS Development Libraries and Headers
    441450Group: Development/Filesystems
    442451
     
    465474administrators.
    466475
    467476%package kernel-source
     477Provides: scripts-openafs-kernel-source
    468478Summary: OpenAFS Kernel Module source tree
    469479Group: Networking/Filesystems
    470480Provides: openafs-kernel = %{PACKAGE_VERSION}
     
    514524
    515525%if %{krb5support}
    516526%package krb5
     527Provides: scripts-openafs-krb5
    517528Summary: OpenAFS programs to use with krb5
    518529Requires: openafs = %{PACKAGE_VERSION}
    519530Group: Networking/Filesystems
     
    540551%if %{build_modules}
    541552
    542553%if %{fedorakmod}
    543 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
     554%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
    544555
    545556%else
    546557
     
    699710
    700711# Patch openafs to build a kernel module named "openafs" instead of "libafs"
    701712%patch0 -p1 -b .kmod26
     713%patch1000 -p1 -b .scripts
     714%patch1001 -p1 -b .postinit
     715%patch1002 -p1 -b .pts-encrypt
     716%patch1003 -p1 -b .localcsdb
    702717
    703718##############################################################################
    704719#
Note: See TracBrowser for help on using the repository browser.