source:
branches/fc15-dev/server/fedora/specs/openafs.spec.patch
@
1913
Last change on this file since 1913 was 1913, checked in by achernya, 14 years ago | |
---|---|
File size: 2.8 KB |
-
openafs.spec
old new 4 4 %define pkgvers 1.6.0 5 5 # for beta/rc releases make pkgrel 0.<tag> 6 6 # for real releases make pkgrel 1 (or more for extra releases) 7 %define pkgrel 0.pre6 7 %define pkgrel 0.pre6.99.scripts.%{scriptsversion} 8 8 9 9 %{!?fedorakmod: %define fedorakmod 1} 10 10 %{!?build_dkmspkg: %define build_dkmspkg 1} … … 247 247 %endif 248 248 ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64 249 249 250 Patch1000: openafs-scripts.patch 251 250 252 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 251 253 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 252 254 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 … … 326 328 %if %{build_userspace} 327 329 328 330 %package client 331 Provides: scripts-openafs-client 329 332 Requires: binutils, openafs = %{version} 330 333 331 334 %if %{fedorakmod} … … 386 389 387 390 %if %{build_authlibs} 388 391 %package authlibs 392 Provides: scripts-openafs-authlibs 389 393 Summary: OpenAFS authentication shared libraries 390 394 Group: Networking/Filesystems 391 395 … … 402 406 %endif 403 407 404 408 %package authlibs-devel 409 Provides: scripts-openafs-authlibs-devel 405 410 %if %{build_authlibs} 406 411 Requires: openafs-authlibs = %{version} 407 412 %endif … … 420 425 libraries. 421 426 422 427 %package devel 428 Provides: scripts-openafs-devel 423 429 Summary: OpenAFS Development Libraries and Headers 424 430 Group: Development/Filesystems 425 431 … … 448 454 administrators. 449 455 450 456 %package kernel-source 457 Provides: scripts-openafs-kernel-source 451 458 Summary: OpenAFS Kernel Module source tree 452 459 Group: Networking/Filesystems 453 460 Provides: openafs-kernel = %{version} … … 497 504 498 505 %if %{krb5support} 499 506 %package krb5 507 Provides: scripts-openafs-krb5 500 508 Summary: OpenAFS programs to use with krb5 501 509 Requires: openafs = %{version} 502 510 Group: Networking/Filesystems … … 523 531 %if %{build_modules} 524 532 525 533 %if %{fedorakmod} 526 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}534 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)} 527 535 528 536 %else 529 537 … … 680 688 #%setup -q -n %{srcdir} 681 689 %setup -q -b 1 -n %{srcdir} 682 690 691 # Apply the Scripts patch 692 %patch1000 -p1 -b .scripts 693 683 694 ############################################################################## 684 695 # 685 696 # building … … 1215 1226 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 1216 1227 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* 1217 1228 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1229 %else 1230 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so 1231 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 1232 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* 1233 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1234 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so 1235 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so.* 1218 1236 %endif 1219 1237 1220 1238 %endif
Note: See TracBrowser
for help on using the repository browser.