source:
branches/fc15-dev/server/fedora/specs/openafs.spec.patch
@
1844
Last change on this file since 1844 was 1836, checked in by achernya, 14 years ago | |
---|---|
File size: 3.5 KB |
-
openafs.spec
old new 8 8 # for beta/rc releases make pkgrel 0.X.<tag> 9 9 # for real releases make pkgrel 1 (or more for extra releases) 10 10 #%define pkgrel 0.1.rc1 11 %define pkgrel 1.1 11 %define pkgrel 1.1.99scripts.%{scriptsversion} 12 12 13 13 %if %{?osvers:0}%{!?osvers:1} 14 14 %define osvers 1 … … 261 261 %endif 262 262 ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64 263 263 264 Patch1000: openafs-scripts.patch 265 Patch1003: openafs-localcsdb.patch 266 Patch1005: openafs-numsysnames.patch 267 Patch1006: openafs-0001-Linux-Add-autoconf-macro-for-structure-checks.patch 268 Patch1007: openafs-0002-Linux-Add-general-autoconf-macro-for-Linux-kernel.patch 269 Patch1008: openafs-0003-Linux-allow-compile-flags-to-be-passed-to-AC_CHECK_L.patch 270 Patch1009: openafs-0004-Linux-2.6.38-Adjust-for-permission-inode-operation-c.patch 271 Patch1010: openafs-0005-linux-2.6.38-New-d_op-handling.patch 272 Patch1011: openafs-0006-linux-2.6.38-Make-d_revalidate-RCU-walk-aware.patch 273 Patch1012: openafs-0007-Linux-2.6.38-deal-with-dcache_lock-removal.patch 274 Patch1013: openafs-0008-Linux-2.6.38-dentry-d_count-is-not-an-atomic.patch 275 Patch1014: openafs-0009-fix-broken-earlier.patch 276 264 277 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 265 278 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 266 279 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 … … 343 347 %if %{build_userspace} 344 348 345 349 %package client 350 Provides: scripts-openafs-client 346 351 Requires: binutils, openafs = %{version} 347 352 348 353 %if %{fedorakmod} … … 403 408 404 409 %if %{build_authlibs} 405 410 %package authlibs 411 Provides: scripts-openafs-authlibs 406 412 Summary: OpenAFS authentication shared libraries 407 413 Group: Networking/Filesystems 408 414 … … 419 425 %endif 420 426 421 427 %package authlibs-devel 428 Provides: scripts-openafs-authlibs-devel 422 429 %if %{build_authlibs} 423 430 Requires: openafs-authlibs = %{version} 424 431 %endif … … 437 444 libraries. 438 445 439 446 %package devel 447 Provides: scripts-openafs-devel 440 448 Summary: OpenAFS Development Libraries and Headers 441 449 Group: Development/Filesystems 442 450 … … 465 473 administrators. 466 474 467 475 %package kernel-source 476 Provides: scripts-openafs-kernel-source 468 477 Summary: OpenAFS Kernel Module source tree 469 478 Group: Networking/Filesystems 470 479 Provides: openafs-kernel = %{version} … … 514 523 515 524 %if %{krb5support} 516 525 %package krb5 526 Provides: scripts-openafs-krb5 517 527 Summary: OpenAFS programs to use with krb5 518 528 Requires: openafs = %{version} 519 529 Group: Networking/Filesystems … … 540 550 %if %{build_modules} 541 551 542 552 %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)} 544 554 545 555 %else 546 556 … … 699 709 700 710 # Patch openafs to build a kernel module named "openafs" instead of "libafs" 701 711 %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 702 724 703 725 ############################################################################## 704 726 # … … 1140 1140 %{_bindir}/bos 1141 1141 %{_bindir}/fs 1142 1142 %{_bindir}/kapasswd 1143 %{_bindir}/kpasswd1144 1143 %{_bindir}/klog 1145 1144 %{_bindir}/klog.krb 1146 1145 %{_bindir}/pagsh
Note: See TracBrowser
for help on using the repository browser.