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

Last change on this file since 1274 was 1274, checked in by mitchb, 13 years ago
Upgrade OpenAFS to 1.4.11 o Two of our patches (postinit and pts-encrypt) have been upstreamed o Two deltas we applied (dprintf-rename-20090427 and linux26-defer-cred-changing-20090511) are now included in this version o The scripts patch has some context adjustments o Our spec file patch corrects an upstream bug which tries to install a compile_et manpage, which conflicts with e2fsprogs-devel
File size: 3.0 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
     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 = %{PACKAGE_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 = %{PACKAGE_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 = %{PACKAGE_VERSION}
     
    514523
    515524%if %{krb5support}
    516525%package krb5
     526Provides: scripts-openafs-krb5
    517527Summary: OpenAFS programs to use with krb5
    518528Requires: openafs = %{PACKAGE_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#
     
    12091222rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump*
    12101223
    12111224# 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
     1225for 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
    12131226  rm -f $RPM_BUILD_ROOT%{_mandir}/man$f.*
    12141227done
    12151228
     
    15691582%{_libdir}/librxstat.a
    15701583%{_libdir}/libubik.a
    15711584%{_mandir}/man1/rxgen.*
    1572 %{_mandir}/man1/compile_et.*
    15731585
    15741586%if %{build_dkmspkg}
    15751587%files -n dkms-%{name}
Note: See TracBrowser for help on using the repository browser.