Commit Graph

12 Commits

Author SHA1 Message Date
Bart Van Assche
e8df6e739e scst.spec: Separate DKMS spec into a new spec file
Split scst.spec.in as follows:
* Keep the directives for generating an RPM that contains binary kernel
  modules in scst.spec.in. Add the kernel version number in the RPM name
  to make it possible to install RPMs for different kernel versions next
  to each other.
* Move the directives for generating a DKMS RPM into a new spec file. The
  name of this spec file does not contain a kernel version since the DKMS
  RPM is independent of the kernel version against which it has been built.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6125 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-02-23 14:48:56 +00:00
Bart Van Assche
0a43946351 scst.spec.in: Add DKMS support
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5976 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-16 16:20:10 +00:00
Bart Van Assche
8b9d281144 scst.spec.in: Leave out kernel version from RPM name
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5975 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-16 16:12:38 +00:00
Bart Van Assche
d571dfe4a4 scst.spec.in: Determine version number correctly on a koji server
This patch has been tested on a koji build server and also on four
different RPM-based distributions (CentOS 7, Fedora 20, openSuSE 13.2
and SLES 11 SP3).


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5974 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-16 13:16:06 +00:00
Bart Van Assche
c7b366e8e9 scst.spec.in: Pass kernel version via RPM-variable %{kversion} instead of shell variable ${KVER}
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5973 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-16 13:12:22 +00:00
Bart Van Assche
275f8c2018 scst.spec.in: Rename variable kver into kversion
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5972 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2015-01-16 13:01:58 +00:00
Bart Van Assche
bd2625ec1a scst-devel rpm: Include /usr/include/scst/scst_itf_ver.h
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5678 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-16 05:35:40 +00:00
Bart Van Assche
296a29b553 scst.spec.in: Create /var/lib/scst/pr and /var/lib/scst/vdev_mode_pages when installing the SCST RPM
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5670 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-07-10 06:18:58 +00:00
Bart Van Assche
a96b8e9cc4 scst.spec.in: Follow-up for r5628
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5630 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-28 20:00:22 +00:00
Bart Van Assche
bebce1c99f ib_srpt: Remove existing ib_srpt.ko kernel modules before installation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5628 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-06-28 19:56:36 +00:00
Bart Van Assche
c33cf3f81b Makefiles: Convert from "install" to "make modules_install"
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5284 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2014-02-14 13:48:54 +00:00
Bart Van Assche
34d764426a scst: Make it possible to build an RPM
Make it possible to build an SCST RPM via the command "make rpm".
The contents of the two RPMs built by this command is as follows:

$ rpm -qlp rpmbuilddir/RPMS/x86_64/scst-3.11.8+-3.0.0.*-1.x86_64.rpm
/lib/modules/3.11.8+/extra
/lib/modules/3.11.8+/extra/dev_handlers
/lib/modules/3.11.8+/extra/dev_handlers/scst_cdrom.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_changer.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_disk.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_modisk.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_processor.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_raid.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_tape.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_user.ko
/lib/modules/3.11.8+/extra/dev_handlers/scst_vdisk.ko
/lib/modules/3.11.8+/extra/fcst.ko
/lib/modules/3.11.8+/extra/ib_srpt.ko
/lib/modules/3.11.8+/extra/iscsi-scst.ko
/lib/modules/3.11.8+/extra/qla2x00tgt.ko
/lib/modules/3.11.8+/extra/qla2xxx_scst.ko
/lib/modules/3.11.8+/extra/scst.ko
/lib/modules/3.11.8+/extra/scst_local.ko
/usr/sbin/iscsi-scst-adm
/usr/sbin/iscsi-scstd
/usr/share/man/man5/iscsi-scstd.conf.5.gz
/usr/share/man/man8/iscsi-scst-adm.8.gz
/usr/share/man/man8/iscsi-scstd.8.gz
/var/lib/scst
$ rpm -qlp rpmbuilddir/RPMS/x86_64/scst-3.11.8+-devel-3.0.0.*-1.x86_64.rpm
/usr/include/scst
/usr/include/scst/Module.symvers
/usr/include/scst/scst.h
/usr/include/scst/scst_const.h
/usr/include/scst/scst_debug.h
/usr/include/scst/scst_sgv.h
/usr/include/scst/scst_user.h


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5137 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2013-12-03 12:04:35 +00:00