source: branches/fc13-dev/server/fedora/specs/openafs.spec.patch @ 1635

Last change on this file since 1635 was 1625, checked in by ezyang, 14 years ago
Upgrade OpenAFS to 1.4.12 for newest Fedora 13 kernel (could not use old version because it did not support the new kernel; some header files were moved around.)
File size: 2.5 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.2
     11%define pkgrel 1.2.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
     265Patch1003: openafs-localcsdb.patch
     266Patch1005: openafs-numsysnames.patch
     267
    264268#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265269Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266270Source1: 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 = %{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 = %{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 = %{version}
     
    514524
    515525%if %{krb5support}
    516526%package krb5
     527Provides: scripts-openafs-krb5
    517528Summary: OpenAFS programs to use with krb5
    518529Requires: openafs = %{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%patch1003 -p1 -b .localcsdb
     715%patch1005 -p1 -b .numsysnames
    702716
    703717##############################################################################
    704718#
Note: See TracBrowser for help on using the repository browser.