Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:Update
oracleasm.16079
oracleasm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oracleasm.spec of Package oracleasm.16079
# # spec file for package oracleasm # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # nodebuginfo # needssslcertforbuild # set buildrt 1 (old 0) %ifarch x86_64 %define buildrt 1 %endif Name: oracleasm Url: http://oss.oracle.com/projects/oracleasm/ Version: 2.0.8 Release: 0 Summary: Kernel driver backing the Generic Linux ASM Library # Generated from the 'oracleasm' branch of # git://git.kernel.org/pub/scm/linux/kernel/git/mkp/linux.git: # git archive --prefix=oracleasm-2.0.8/ 26e959caa2c4 -- \ # drivers/block/oracleasm include/linux/oracleasm License: GPL-2.0 Group: System/Kernel Source0: oracleasm-%version.tar.xz Source1: Module.supported Patch: oracleasm_Fix_use_after_free_for_request_processing_timer.patch Patch1: 0001-oracleasm-Kernel-interface-changes-for-4.12.patch Patch2: 0002-oracleasm-Kernel-interface-tweaks-for-4.14.patch Patch3: 0003-oracleasm-Kernel-interface-tweaks-for-SLE15-SP1.patch Patch4: 0004-oracleasm-Kernel-interface-tweaks-for-5.3.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: oracleasm-kmp BuildRequires: kernel-syms BuildRequires: module-init-tools %if 0%{?buildrt} BuildRequires: kernel-syms-rt %endif ExcludeArch: %ix86 s390 %suse_kernel_module_package kdump um %description This package provides kernel module for ASMLib. You need oracleasmlib and oracleasm-support package to use this. Authors: -------- Joel Becker <joel.becker@oracle.com> %package KMP Summary: Kernel driver backing the Generic Linux ASM Library Group: System/Kernel %description KMP This package provides KMP modules for oracleasm. You need oracleasmlib and oracleasm-support package to use this. %prep %define subdir drivers/block/oracleasm %setup -q %patch -p2 %patch1 -p1 %patch2 -p1 %patch3 -p2 %patch4 -p2 cp %_sourcedir/Module.supported %subdir/Module.supported set -- * mkdir source mv "$@" source/ mkdir obj %build export CONFIG_ORACLEASM=m for flavor in %flavors_to_build; do rm -rf obj/$flavor cp -r source obj/$flavor make -k %{?_smp_mflags} -C /usr/src/linux-obj/%_target_cpu/$flavor \ M=$PWD/obj/$flavor/%subdir \ KCPPFLAGS="-I$PWD/obj/$flavor/include" \ modules done %install export CONFIG_ORACLEASM=m export INSTALL_MOD_PATH=$RPM_BUILD_ROOT export INSTALL_MOD_DIR=updates export BRP_PESIGN_FILES="*.ko /lib/firmware" for flavor in %flavors_to_build; do make -C /usr/src/linux-obj/%_target_cpu/$flavor \ modules_install M=$PWD/obj/$flavor/%subdir done %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor