source:
trunk/server/fedora/specs/openafs.spec.patch
@
2135
Last change on this file since 2135 was 2066, checked in by achernya, 13 years ago | |
---|---|
File size: 3.3 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 Patch1006: openafs-linux-3.1-zalloc.patch 247 240 248 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 241 249 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 242 250 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 … … 316 324 %if %{build_userspace} 317 325 318 326 %package client 327 Provides: scripts-openafs-client 319 328 Requires: binutils, openafs = %{version} 320 329 321 330 %if %{fedorakmod} … … 376 385 377 386 %if %{build_authlibs} 378 387 %package authlibs 388 Provides: scripts-openafs-authlibs 379 389 Summary: OpenAFS authentication shared libraries 380 390 Group: Networking/Filesystems 381 391 … … 392 402 %endif 393 403 394 404 %package authlibs-devel 405 Provides: scripts-openafs-authlibs-devel 395 406 %if %{build_authlibs} 396 407 Requires: openafs-authlibs = %{version}-%{release} 397 408 %endif … … 410 421 libraries. 411 422 412 423 %package devel 424 Provides: scripts-openafs-devel 413 425 Summary: OpenAFS Development Libraries and Headers 414 426 Group: Development/Filesystems 415 427 Requires: openafs = %{version}-%{release} … … 439 451 administrators. 440 452 441 453 %package kernel-source 454 Provides: scripts-openafs-kernel-source 442 455 Summary: OpenAFS Kernel Module source tree 443 456 Group: Networking/Filesystems 444 457 Provides: openafs-kernel = %{version} … … 488 501 489 502 %if %{krb5support} 490 503 %package krb5 504 Provides: scripts-openafs-krb5 491 505 Summary: OpenAFS programs to use with krb5 492 506 Requires: openafs = %{version} 493 507 Group: Networking/Filesystems … … 514 528 %if %{build_modules} 515 529 516 530 %if %{fedorakmod} 517 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}531 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)} 518 532 519 533 %else 520 534 … … 671 685 #%setup -q -n %{srcdir} 672 686 %setup -q -b 1 -n %{srcdir} 673 687 688 # Apply the Scripts patch 689 %patch1000 -p1 -b .scripts 690 %patch1001 -p1 -b .localcsdb 691 %patch1002 -p1 -b .systemd 692 %patch1003 -p1 -b .systemd-crond 693 %patch1004 -p1 -b .rcu 694 %patch1005 -p1 -b .fsync 695 %patch1006 -p1 -b .zalloc 696 674 697 ############################################################################## 675 698 # 676 699 # building … … 1212 1235 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 1213 1236 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* 1214 1237 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1238 %else 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}/libafsauthent.so.* 1242 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1243 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so 1244 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so.* 1215 1245 %endif 1216 1246 1217 1247 %endif
Note: See TracBrowser
for help on using the repository browser.