source: branches/fc11-dev/server/fedora/specs/openafs.spec.patch @ 1179

Last change on this file since 1179 was 1172, checked in by mitchb, 13 years ago
Allow more AFS sysnames... you can never have enough
File size: 2.7 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
     268Patch1004: openafs-delta-dprintf-rename-20090427.patch
     269Patch1005: openafs-numsysnames.patch
     270
    264271#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265272Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266273Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
     
    343350%if %{build_userspace}
    344351
    345352%package client
     353Provides: scripts-openafs-client
    346354Requires: binutils, openafs = %{PACKAGE_VERSION}
    347355
    348356%if %{fedorakmod}
     
    403411
    404412%if %{build_authlibs}
    405413%package authlibs
     414Provides: scripts-openafs-authlibs
    406415Summary: OpenAFS authentication shared libraries
    407416Group: Networking/Filesystems
    408417
     
    419428%endif
    420429
    421430%package authlibs-devel
     431Provides: scripts-openafs-authlibs-devel
    422432%if %{build_authlibs}
    423433Requires: openafs-authlibs = %{PACKAGE_VERSION}
    424434%endif
     
    437447libraries.
    438448
    439449%package devel
     450Provides: scripts-openafs-devel
    440451Summary: OpenAFS Development Libraries and Headers
    441452Group: Development/Filesystems
    442453
     
    465476administrators.
    466477
    467478%package kernel-source
     479Provides: scripts-openafs-kernel-source
    468480Summary: OpenAFS Kernel Module source tree
    469481Group: Networking/Filesystems
    470482Provides: openafs-kernel = %{PACKAGE_VERSION}
     
    514526
    515527%if %{krb5support}
    516528%package krb5
     529Provides: scripts-openafs-krb5
    517530Summary: OpenAFS programs to use with krb5
    518531Requires: openafs = %{PACKAGE_VERSION}
    519532Group: Networking/Filesystems
     
    540553%if %{build_modules}
    541554
    542555%if %{fedorakmod}
    543 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
     556%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
    544557
    545558%else
    546559
     
    699712
    700713# Patch openafs to build a kernel module named "openafs" instead of "libafs"
    701714%patch0 -p1 -b .kmod26
     715%patch1000 -p1 -b .scripts
     716%patch1001 -p1 -b .postinit
     717%patch1002 -p1 -b .pts-encrypt
     718%patch1003 -p1 -b .localcsdb
     719%patch1004 -p1 -b .dprintf
     720%patch1005 -p1 -b .numsysnames
    702721
    703722##############################################################################
    704723#
Note: See TracBrowser for help on using the repository browser.