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

Last change on this file since 1836 was 1836, checked in by achernya, 14 years ago
Make OpenAFS and tokensys RPMs installable A minor change to each of OpenAFS to make the resulting RPMs installable.
File size: 3.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.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
     265Patch1003: openafs-localcsdb.patch
     266Patch1005: openafs-numsysnames.patch
     267Patch1006: openafs-0001-Linux-Add-autoconf-macro-for-structure-checks.patch
     268Patch1007: openafs-0002-Linux-Add-general-autoconf-macro-for-Linux-kernel.patch
     269Patch1008: openafs-0003-Linux-allow-compile-flags-to-be-passed-to-AC_CHECK_L.patch
     270Patch1009: openafs-0004-Linux-2.6.38-Adjust-for-permission-inode-operation-c.patch
     271Patch1010: openafs-0005-linux-2.6.38-New-d_op-handling.patch
     272Patch1011: openafs-0006-linux-2.6.38-Make-d_revalidate-RCU-walk-aware.patch
     273Patch1012: openafs-0007-Linux-2.6.38-deal-with-dcache_lock-removal.patch
     274Patch1013: openafs-0008-Linux-2.6.38-dentry-d_count-is-not-an-atomic.patch
     275Patch1014: openafs-0009-fix-broken-earlier.patch
     276
    264277#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265278Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266279Source1: 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
     715%patch1006 -p1 -b .0001
     716%patch1007 -p1 -b .0002
     717%patch1008 -p1 -b .0003
     718%patch1009 -p1 -b .0004
     719%patch1010 -p1 -b .0005
     720%patch1011 -p1 -b .0006
     721%patch1012 -p1 -b .0007
     722%patch1013 -p1 -b .0008
     723%patch1014 -p1 -b .0009
    702724
    703725##############################################################################
    704726#
     
    11401140%{_bindir}/bos
    11411141%{_bindir}/fs
    11421142%{_bindir}/kapasswd
    1143 %{_bindir}/kpasswd
    11441143%{_bindir}/klog
    11451144%{_bindir}/klog.krb
    11461145%{_bindir}/pagsh
Note: See TracBrowser for help on using the repository browser.