source:
branches/fc15-dev/server/fedora/specs/openafs.spec.patch
@
2060
Last change on this file since 2060 was 2060, checked in by ezyang, 13 years ago | |
---|---|
File size: 3.2 KB |
-
rpmbuild/SPECS/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 1 7 %define pkgrel 1.99.scripts.%{scriptsversion} 8 8 9 9 %{!?fedorakmod: %define fedorakmod 1} 10 10 %{!?build_dkmspkg: %define build_dkmspkg 1} … … 237 237 238 238 ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64 239 239 240 Patch1000: openafs-scripts.patch 241 Patch1001: openafs-localcsdb.patch 242 Patch1002: openafs-systemd.patch 243 Patch1003: openafs-systemd-crond.patch 244 Patch1004: openafs-linux-3.1-rcu.patch 245 Patch1005: openafs-linux-3.1-fsync.patch 246 240 247 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 241 248 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 242 249 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 … … 316 323 %if %{build_userspace} 317 324 318 325 %package client 326 Provides: scripts-openafs-client 319 327 Requires: binutils, openafs = %{version} 320 328 321 329 %if %{fedorakmod} … … 376 384 377 385 %if %{build_authlibs} 378 386 %package authlibs 387 Provides: scripts-openafs-authlibs 379 388 Summary: OpenAFS authentication shared libraries 380 389 Group: Networking/Filesystems 381 390 … … 392 401 %endif 393 402 394 403 %package authlibs-devel 404 Provides: scripts-openafs-authlibs-devel 395 405 %if %{build_authlibs} 396 406 Requires: openafs-authlibs = %{version}-%{release} 397 407 %endif … … 410 420 libraries. 411 421 412 422 %package devel 423 Provides: scripts-openafs-devel 413 424 Summary: OpenAFS Development Libraries and Headers 414 425 Group: Development/Filesystems 415 426 Requires: openafs = %{version}-%{release} … … 439 450 administrators. 440 451 441 452 %package kernel-source 453 Provides: scripts-openafs-kernel-source 442 454 Summary: OpenAFS Kernel Module source tree 443 455 Group: Networking/Filesystems 444 456 Provides: openafs-kernel = %{version} … … 488 500 489 501 %if %{krb5support} 490 502 %package krb5 503 Provides: scripts-openafs-krb5 491 504 Summary: OpenAFS programs to use with krb5 492 505 Requires: openafs = %{version} 493 506 Group: Networking/Filesystems … … 514 527 %if %{build_modules} 515 528 516 529 %if %{fedorakmod} 517 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}530 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)} 518 531 519 532 %else 520 533 … … 671 684 #%setup -q -n %{srcdir} 672 685 %setup -q -b 1 -n %{srcdir} 673 686 687 # Apply the Scripts patch 688 %patch1000 -p1 -b .scripts 689 %patch1001 -p1 -b .localcsdb 690 %patch1002 -p1 -b .systemd 691 %patch1003 -p1 -b .systemd-crond 692 %patch1004 -p1 -b .rcu 693 %patch1005 -p1 -b .fsync 694 674 695 ############################################################################## 675 696 # 676 697 # building … … 1212 1233 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 1213 1234 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* 1214 1235 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1236 %else 1237 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so 1238 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 1239 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* 1240 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1241 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so 1242 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so.* 1215 1243 %endif 1216 1244 1217 1245 %endif
Note: See TracBrowser
for help on using the repository browser.