Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:reddotr:dummyprj
dummydrv
sampledriver.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sampledriver.spec of Package dummydrv
#norootforbuild Name: sampledriver BuildRequires: %kernel_module_package_buildreqs License: GPL Group: System/Kernel Summary: Sample Driver Version: 1.0 Release: 0 Source0: %{name}_%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %kernel_module_package %description This package contains the sampledriver.ko module. %prep %setup set -- * mkdir source mv "$@" source/ mkdir obj %build for flavor in %flavors_to_build; do rm -rf obj/$flavor cp -r source obj/$flavor make -C %{kernel_source $flavor} modules M=$PWD/obj/$flavor done %install export INSTALL_MOD_PATH=$RPM_BUILD_ROOT %if 0%{?rhel_version} == 501 export INSTALL_MOD_DIR=extra/%{name} %else export INSTALL_MOD_DIR=updates %endif for flavor in %flavors_to_build; do make -C %{kernel_source $flavor} modules_install M=$PWD/obj/$flavor done %changelog * Tue Oct 20 2009 – andavis@novell.com - Add RHEL support. * Mon Oct 19 2009 – andavis@novell.com - Initial version.
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