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

Last change on this file since 1146 was 1139, checked in by mitchb, 13 years ago
Apply OpenAFS delta dprintf-rename-20090427 Renames the dpatch #define, which conflicts in Fedora 11
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
     268Patch1004: openafs-delta-dprintf-rename-20090427.patch
     269
    264270#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265271Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266272Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
     
    343349%if %{build_userspace}
    344350
    345351%package client
     352Provides: scripts-openafs-client
    346353Requires: binutils, openafs = %{PACKAGE_VERSION}
    347354
    348355%if %{fedorakmod}
     
    403410
    404411%if %{build_authlibs}
    405412%package authlibs
     413Provides: scripts-openafs-authlibs
    406414Summary: OpenAFS authentication shared libraries
    407415Group: Networking/Filesystems
    408416
     
    419427%endif
    420428
    421429%package authlibs-devel
     430Provides: scripts-openafs-authlibs-devel
    422431%if %{build_authlibs}
    423432Requires: openafs-authlibs = %{PACKAGE_VERSION}
    424433%endif
     
    437446libraries.
    438447
    439448%package devel
     449Provides: scripts-openafs-devel
    440450Summary: OpenAFS Development Libraries and Headers
    441451Group: Development/Filesystems
    442452
     
    465475administrators.
    466476
    467477%package kernel-source
     478Provides: scripts-openafs-kernel-source
    468479Summary: OpenAFS Kernel Module source tree
    469480Group: Networking/Filesystems
    470481Provides: openafs-kernel = %{PACKAGE_VERSION}
     
    514525
    515526%if %{krb5support}
    516527%package krb5
     528Provides: scripts-openafs-krb5
    517529Summary: OpenAFS programs to use with krb5
    518530Requires: openafs = %{PACKAGE_VERSION}
    519531Group: Networking/Filesystems
     
    540552%if %{build_modules}
    541553
    542554%if %{fedorakmod}
    543 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}
     555%{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)}
    544556
    545557%else
    546558
     
    699711
    700712# Patch openafs to build a kernel module named "openafs" instead of "libafs"
    701713%patch0 -p1 -b .kmod26
     714%patch1000 -p1 -b .scripts
     715%patch1001 -p1 -b .postinit
     716%patch1002 -p1 -b .pts-encrypt
     717%patch1003 -p1 -b .localcsdb
     718%patch1004 -p1 -b .dprintf
    702719
    703720##############################################################################
    704721#
Note: See TracBrowser for help on using the repository browser.