diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 16:43:14 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-04 16:43:14 +0100 |
commit | 4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b (patch) | |
tree | dce4520f69b3124da7afa76c2bbe5fc1f08313f7 /misc | |
parent | 195c28f3074486165b6e0935362810f8a1fb9531 (diff) | |
download | pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.tar.gz pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.tar.bz2 pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.tar.xz pcitool-4c17aa5a10ffc232e7e4de45d8ab0b52cfc3010b.zip |
RPM generation
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dkms.conf.in | 9 | ||||
-rw-r--r-- | misc/rpmlintrc | 8 |
2 files changed, 17 insertions, 0 deletions
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") |