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

Last change on this file since 1562 was 1555, checked in by mitchb, 13 years ago
There can be only one! (so stop hogging the GLOCK) OpenAFS 1.4.12 had bogus "lost connection" messages, which went away when we rolled back to 1.4.11. However, we're now occasionally having hard lockups because readdir deadlocks waiting for the GLOCK when filldir is holding it and pagefaults. Apply 829838e45f94921d22335154587216f7842e3955 from upstream as a compromise until we can move into the future with OpenAFS 1.5
File size: 3.1 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-release-glock.patch
     268
    264269#    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
    265270Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
    266271Source1: 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 = %{PACKAGE_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 = %{PACKAGE_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 = %{PACKAGE_VERSION}
     
    514524
    515525%if %{krb5support}
    516526%package krb5
     527Provides: scripts-openafs-krb5
    517528Summary: OpenAFS programs to use with krb5
    518529Requires: openafs = %{PACKAGE_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
     716%patch1006 -p1 -b .release-glock
    702717
    703718##############################################################################
    704719#
     
    12091224rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump*
    12101225
    12111226# remove man pages from programs deleted above
    1212 for f in 1/dlog 1/dpass 1/livesys 1/xstat_cm_test 1/xstat_fs_test 8/kdb 8/kpwvalid 8/xfs_size_check 1/package_test 5/package 8/package ; do
     1227for f in 1/compile_et 1/dlog 1/dpass 1/livesys 1/xstat_cm_test 1/xstat_fs_test 8/kdb 8/kpwvalid 8/xfs_size_check 1/package_test 5/package 8/package ; do
    12131228  rm -f $RPM_BUILD_ROOT%{_mandir}/man$f.*
    12141229done
    12151230
     
    15691584%{_libdir}/librxstat.a
    15701585%{_libdir}/libubik.a
    15711586%{_mandir}/man1/rxgen.*
    1572 %{_mandir}/man1/compile_et.*
    15731587
    15741588%if %{build_dkmspkg}
    15751589%files -n dkms-%{name}
Note: See TracBrowser for help on using the repository browser.