source:
trunk/server/fedora/specs/openafs.spec.patch
@
1421
Last change on this file since 1421 was 1274, checked in by mitchb, 15 years ago | |
---|---|
File size: 3.0 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 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 = %{PACKAGE_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 = %{PACKAGE_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 = %{PACKAGE_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 = %{PACKAGE_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 # … … 1209 1222 rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump* 1210 1223 1211 1224 # 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 ; do1225 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 1226 rm -f $RPM_BUILD_ROOT%{_mandir}/man$f.* 1214 1227 done 1215 1228 … … 1569 1582 %{_libdir}/librxstat.a 1570 1583 %{_libdir}/libubik.a 1571 1584 %{_mandir}/man1/rxgen.* 1572 %{_mandir}/man1/compile_et.*1573 1585 1574 1586 %if %{build_dkmspkg} 1575 1587 %files -n dkms-%{name}
Note: See TracBrowser
for help on using the repository browser.