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