source: branches/fc15-dev/server/fedora/specs/openafs.spec.patch @ 1828

Last change on this file since 1828 was 1693, checked in by ezyang, 14 years ago
Merge Fedora 13 development back to trunk.
File size: 2.5 KB
  • TabularUnified 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 0.pre3
     11%define pkgrel 0.pre3.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
     
    343347%if %{build_userspace}
    344348
    345349%package client
     350Provides: scripts-openafs-client
    346351Requires: binutils, openafs = %{version}
    347352
    348353%if %{fedorakmod}
     
    403408
    404409%if %{build_authlibs}
    405410%package authlibs
     411Provides: scripts-openafs-authlibs
    406412Summary: OpenAFS authentication shared libraries
    407413Group: Networking/Filesystems
    408414
     
    419425%endif
    420426
    421427%package authlibs-devel
     428Provides: scripts-openafs-authlibs-devel
    422429%if %{build_authlibs}
    423430Requires: openafs-authlibs = %{version}
    424431%endif
     
    437444libraries.
    438445
    439446%package devel
     447Provides: scripts-openafs-devel
    440448Summary: OpenAFS Development Libraries and Headers
    441449Group: Development/Filesystems
    442450
     
    465473administrators.
    466474
    467475%package kernel-source
     476Provides: scripts-openafs-kernel-source
    468477Summary: OpenAFS Kernel Module source tree
    469478Group: Networking/Filesystems
    470479Provides: openafs-kernel = %{version}
     
    514523
    515524%if %{krb5support}
    516525%package krb5
     526Provides: scripts-openafs-krb5
    517527Summary: OpenAFS programs to use with krb5
    518528Requires: openafs = %{version}
    519529Group: Networking/Filesystems
     
    540550%if %{build_modules}
    541551
    542552%if %{fedorakmod}
    543 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
     553%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
    544554
    545555%else
    546556
     
    699709
    700710# Patch openafs to build a kernel module named "openafs" instead of "libafs"
    701711%patch0 -p1 -b .kmod26
     712%patch1000 -p1 -b .scripts
     713%patch1003 -p1 -b .localcsdb
     714%patch1005 -p1 -b .numsysnames
    702715
    703716##############################################################################
    704717#
Note: See TracBrowser for help on using the repository browser.