source:
trunk/server/fedora/specs/openafs.spec.patch
@
2006
Last change on this file since 2006 was 1693, checked in by ezyang, 14 years ago | |
---|---|
File size: 2.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 0.pre3 11 %define pkgrel 0.pre3.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 264 268 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 265 269 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 266 270 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 702 715 703 716 ############################################################################## 704 717 #
Note: See TracBrowser
for help on using the repository browser.