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