source:
trunk/server/fedora/specs/openafs.spec.patch
@
2335
Last change on this file since 2335 was 2335, checked in by geofft, 12 years ago | |
---|---|
File size: 3.5 KB |
-
openafs.spec
old new 1 1 # Openafs Spec $Revision$ 2 2 3 3 %define afsvers 1.6.1 4 %define pkgvers 1.6.1 4 %define pkgvers 1.6.1.1 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} … … 249 249 %if %{build_modules} 250 250 BuildRequires: kernel-devel 251 251 %endif 252 BuildRequires: libtool 252 253 253 254 ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64 254 255 256 Patch999: openafs-stable-1.6.1.1.patch 257 Patch1000: openafs-scripts.patch 258 Patch1001: openafs-systemd-crond.patch 259 Patch1002: openafs-systemd-csdb.patch 260 %define _default_patch_fuzz 2 261 255 262 # http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/... 256 263 Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2 257 264 Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2 … … 331 338 %if %{build_userspace} 332 339 333 340 %package client 341 Provides: scripts-openafs-client 334 342 Requires: binutils, openafs = %{version} 335 343 %if 0%{?fedora} >= 15 336 344 Requires: systemd-units … … 403 411 404 412 %if %{build_authlibs} 405 413 %package authlibs 414 Provides: scripts-openafs-authlibs 406 415 Summary: OpenAFS authentication shared libraries 407 416 Group: Networking/Filesystems 408 417 … … 419 428 %endif 420 429 421 430 %package authlibs-devel 431 Provides: scripts-openafs-authlibs-devel 422 432 %if %{build_authlibs} 423 433 Requires: openafs-authlibs = %{version}-%{release} 424 434 %endif … … 437 447 libraries. 438 448 439 449 %package devel 450 Provides: scripts-openafs-devel 440 451 Summary: OpenAFS Development Libraries and Headers 441 452 Group: Development/Filesystems 442 453 Requires: openafs = %{version}-%{release} … … 466 477 administrators. 467 478 468 479 %package kernel-source 480 Provides: scripts-openafs-kernel-source 469 481 Summary: OpenAFS Kernel Module source tree 470 482 Group: Networking/Filesystems 471 483 Provides: openafs-kernel = %{version} … … 515 527 516 528 %if %{krb5support} 517 529 %package krb5 530 Provides: scripts-openafs-krb5 518 531 Summary: OpenAFS programs to use with krb5 519 532 Requires: openafs = %{version} 520 533 Group: Networking/Filesystems … … 541 554 %if %{build_modules} 542 555 543 556 %if %{fedorakmod} 544 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} 2>/dev/null)}557 %{expand:%(%{kmodtool} rpmtemplate %{kmod_name} %{kverrel} %{kvariants} | sed '/^%package/ aProvides: scripts-kmod-openafs' 2>/dev/null)} 545 558 546 559 %else 547 560 … … 698 711 #%setup -q -n %{srcdir} 699 712 %setup -q -b 1 -n %{srcdir} 700 713 714 # Apply the Scripts patch 715 %patch999 -p1 -b .1.6.1.1 716 %patch1000 -p1 -b .scripts 717 %patch1001 -p1 -b .systemd-crond 718 %patch1002 -p1 -b .systemd-csdb 719 701 720 ############################################################################## 702 721 # 703 722 # building … … 869 888 %endif 870 889 %endif 871 890 891 ./regen.sh 892 872 893 ./configure --with-afs-sysname=${sysname} \ 873 894 --prefix=%{_prefix} \ 874 895 --libdir=%{_libdir} \ … … 1278 1299 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 1279 1300 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* 1280 1301 rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1302 %else 1303 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so 1304 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so 1305 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.* 1306 chmod +x $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so.* 1307 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so 1308 chmod +x $RPM_BUILD_ROOT%{_libdir}/libkopenafs.so.* 1281 1309 %endif 1282 1310 1283 1311 %endif
Note: See TracBrowser
for help on using the repository browser.