From 4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 4 Mar 2016 16:43:14 +0100 Subject: RPM generation --- misc/dkms.conf.in | 9 +++++++++ misc/rpmlintrc | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 misc/dkms.conf.in create mode 100644 misc/rpmlintrc (limited to 'misc') diff --git a/misc/dkms.conf.in b/misc/dkms.conf.in new file mode 100644 index 0000000..d495b3c --- /dev/null +++ b/misc/dkms.conf.in @@ -0,0 +1,9 @@ +POST_INSTALL="make -C driver/ install_symvers KERNELVER=$kernelver KERNELDIR=$kernel_source_dir" +MAKE="make -C driver/ KERNELDIR=/lib/modules/${kernelver}/build" +CLEAN="make -C driver/ clean" +BUILT_MODULE_NAME=pciDriver +BUILT_MODULE_LOCATION=driver/ +PACKAGE_NAME=${PACKAGE_NAME} +PACKAGE_VERSION=${CPACK_PACKAGE_VERSION} +REMAKE_INITRD=no +AUTOINSTALL=yes diff --git a/misc/rpmlintrc b/misc/rpmlintrc new file mode 100644 index 0000000..d79a8b5 --- /dev/null +++ b/misc/rpmlintrc @@ -0,0 +1,8 @@ +addFilter("devel-file-in-non-devel-package.*/usr/src/pciDriver") +addFilter("no-manual-page-for-binary") +addFilter("files-duplicate /usr/share/doc/packages/libpcilib-devel/html/") +addFilter("files-duplicate /usr/share/pcilib.*/pyserver/static/codebase/imgs/dhxtree_skyblue/") +addFilter("suse-filelist-forbidden-fhs23 /usr/src/pciDriver") + +# uthash +addFilter("libpcilib.* shared-lib-calls-exit /usr/lib.*/libpcilib") -- cgit v1.2.3