source: trunk/server/fedora/specs/openafs.spec.patch @ 1259

Last change on this file since 1259 was 1259, checked in by mitchb, 13 years ago
Reintegrate branches/fc11-dev (r1121:1258) to trunk
File size: 2.8 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
     270Patch1006: openafs-delta-linux26-defer-cred-changing-20090511.patch
     271
    264272#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265273Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266274Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
     
    343351%if %{build_userspace}
    344352
    345353%package client
     354Provides: scripts-openafs-client
    346355Requires: binutils, openafs = %{PACKAGE_VERSION}
    347356
    348357%if %{fedorakmod}
     
    403412
    404413%if %{build_authlibs}
    405414%package authlibs
     415Provides: scripts-openafs-authlibs
    406416Summary: OpenAFS authentication shared libraries
    407417Group: Networking/Filesystems
    408418
     
    419429%endif
    420430
    421431%package authlibs-devel
     432Provides: scripts-openafs-authlibs-devel
    422433%if %{build_authlibs}
    423434Requires: openafs-authlibs = %{PACKAGE_VERSION}
    424435%endif
     
    437448libraries.
    438449
    439450%package devel
     451Provides: scripts-openafs-devel
    440452Summary: OpenAFS Development Libraries and Headers
    441453Group: Development/Filesystems
    442454
     
    465477administrators.
    466478
    467479%package kernel-source
     480Provides: scripts-openafs-kernel-source
    468481Summary: OpenAFS Kernel Module source tree
    469482Group: Networking/Filesystems
    470483Provides: openafs-kernel = %{PACKAGE_VERSION}
     
    514527
    515528%if %{krb5support}
    516529%package krb5
     530Provides: scripts-openafs-krb5
    517531Summary: OpenAFS programs to use with krb5
    518532Requires: openafs = %{PACKAGE_VERSION}
    519533Group: Networking/Filesystems
     
    540554%if %{build_modules}
    541555
    542556%if %{fedorakmod}
    543 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
     557%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
    544558
    545559%else
    546560
     
    699713
    700714# Patch openafs to build a kernel module named "openafs" instead of "libafs"
    701715%patch0 -p1 -b .kmod26
     716%patch1000 -p1 -b .scripts
     717%patch1001 -p1 -b .postinit
     718%patch1002 -p1 -b .pts-encrypt
     719%patch1003 -p1 -b .localcsdb
     720%patch1004 -p1 -b .dprintf
     721%patch1005 -p1 -b .numsysnames
     722%patch1006 -p1 -b .defercredchanging
    702723
    703724##############################################################################
    704725#
Note: See TracBrowser for help on using the repository browser.