Accepting request 619531 from home:hauky:branches:filesystems
minor cleanups OBS-URL: https://build.opensuse.org/request/show/619531 OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=19
This commit is contained in:
parent
deab0d5754
commit
5828a742ca
15
openafs.spec
15
openafs.spec
@ -129,10 +129,7 @@ Requires(post): %insserv_prereq
|
||||
Requires(post): %fillup_prereq
|
||||
|
||||
%if %{build_kernel_modules}
|
||||
BuildRequires: kernel-source
|
||||
BuildRequires: kernel-syms
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: module-init-tools
|
||||
BuildRequires: %{kernel_module_package_buildreqs}
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -238,9 +235,8 @@ module.
|
||||
%package KMP
|
||||
Summary: OpenAFS Distributed File System - kernel module
|
||||
Group: System/Kernel
|
||||
Requires: %{kernel_module_package_buildreqs}
|
||||
|
||||
%kernel_module_package -x lockdep um xen pae -p %_sourcedir/preamble -n %%{name}
|
||||
%kernel_module_package -x lockdep um pae -p %{S:30}
|
||||
|
||||
%description KMP
|
||||
This package contains the kernel module for OpenAFS. For details see
|
||||
@ -298,7 +294,7 @@ and load balancing, and ACLs. This package contains the OpenAFS client.
|
||||
: @@@ sysconf dir: %{_sysconfdir}
|
||||
: @@@ man dir: %{_mandir}
|
||||
: @@@ build modules: %{build_kernel_modules}
|
||||
: @@@ architecture: %{_arch}
|
||||
: @@@ architecture: %{_arch}
|
||||
: @@@ target cpu: %{_target_cpu}
|
||||
: @@@
|
||||
: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||
@ -387,7 +383,7 @@ for flavor in %flavors_to_build; do
|
||||
pushd obj/$flavor
|
||||
./configure --with-linux-kernel-build=/usr/src/linux-obj/%{_target_cpu}/$flavor --with-linux-kernel-headers=/usr/src/linux \
|
||||
--disable-transarc-paths
|
||||
export LINUX_MAKE_ARCH="ARCH=%{_arch}"
|
||||
export LINUX_MAKE_ARCH=%{?linux_make_arch}
|
||||
make
|
||||
popd
|
||||
done
|
||||
@ -457,10 +453,9 @@ install -m 644 LICENSE %{buildroot}/usr/src/kernel-modules/openafs/LICENSE
|
||||
%if %{build_kernel_modules}
|
||||
export INSTALL_MOD_PATH=%{buildroot}
|
||||
export INSTALL_MOD_DIR=updates
|
||||
export LINUX_MAKE_ARCH="ARCH=%{_arch}"
|
||||
|
||||
for flavor in %flavors_to_build; do
|
||||
make -C /usr/src/linux-obj/%{_arch}/$flavor $LINUX_MAKE_ARCH modules_install \
|
||||
make -C /usr/src/linux-obj/%{_arch}/$flavor %{?linux_make_arch} modules_install \
|
||||
M=$PWD/`find obj/$flavor/ -name MODLOAD-\* -type d`
|
||||
done
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user