source:
trunk/server/fedora/specs/openafs.spec.patch
@
1586
Last change on this file since 1586 was 1555, checked in by mitchb, 15 years ago | |
---|---|
File size: 3.1 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-release-glock.patch 268 264 269 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 265 270 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 266 271 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 … … 343 348 %if %{build_userspace} 344 349 345 350 %package client 351 Provides: scripts-openafs-client 346 352 Requires: binutils, openafs = %{PACKAGE_VERSION} 347 353 348 354 %if %{fedorakmod} … … 403 409 404 410 %if %{build_authlibs} 405 411 %package authlibs 412 Provides: scripts-openafs-authlibs 406 413 Summary: OpenAFS authentication shared libraries 407 414 Group: Networking/Filesystems 408 415 … … 419 426 %endif 420 427 421 428 %package authlibs-devel 429 Provides: scripts-openafs-authlibs-devel 422 430 %if %{build_authlibs} 423 431 Requires: openafs-authlibs = %{PACKAGE_VERSION} 424 432 %endif … … 437 445 libraries. 438 446 439 447 %package devel 448 Provides: scripts-openafs-devel 440 449 Summary: OpenAFS Development Libraries and Headers 441 450 Group: Development/Filesystems 442 451 … … 465 474 administrators. 466 475 467 476 %package kernel-source 477 Provides: scripts-openafs-kernel-source 468 478 Summary: OpenAFS Kernel Module source tree 469 479 Group: Networking/Filesystems 470 480 Provides: openafs-kernel = %{PACKAGE_VERSION} … … 514 524 515 525 %if %{krb5support} 516 526 %package krb5 527 Provides: scripts-openafs-krb5 517 528 Summary: OpenAFS programs to use with krb5 518 529 Requires: openafs = %{PACKAGE_VERSION} 519 530 Group: Networking/Filesystems … … 540 551 %if %{build_modules} 541 552 542 553 %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)} 544 555 545 556 %else 546 557 … … 699 710 700 711 # Patch openafs to build a kernel module named "openafs" instead of "libafs" 701 712 %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 702 717 703 718 ############################################################################## 704 719 # … … 1209 1224 rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump* 1210 1225 1211 1226 # 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 ; do1227 for 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 1213 1228 rm -f $RPM_BUILD_ROOT%{_mandir}/man$f.* 1214 1229 done 1215 1230 … … 1569 1584 %{_libdir}/librxstat.a 1570 1585 %{_libdir}/libubik.a 1571 1586 %{_mandir}/man1/rxgen.* 1572 %{_mandir}/man1/compile_et.*1573 1587 1574 1588 %if %{build_dkmspkg} 1575 1589 %files -n dkms-%{name}
Note: See TracBrowser
for help on using the repository browser.