aboutsummaryrefslogtreecommitdiffstats
path: root/spl.spec.in
Commit message (Collapse)AuthorAgeFilesLines
* Remove usage of the __id_u macro for portability.Brian Behlendorf2009-10-051-1/+1
| | | | | | | | This macro was removed from the default RPM macro file. Interestly, some of the arch specific macro's add it back it based on your distro but it should not be counted on. However, __id still exists and its command line args have historically been fairly stable so we will directly use %{__id} -un to get the user name.
* Simplify rpm build rules, added config/rpm.am.Brian Behlendorf2009-07-011-139/+5
| | | | Distro friendly changes such that the kernel modules are packaged seperately.
* Additional tuning to get the BuildRequires right for all cases.Brian Behlendorf2009-06-261-10/+9
| | | | pl.spec~
* Simplify the kernel depenency logicBrian Behlendorf2009-06-261-20/+15
|
* Spec file update, for some reason the following shorthand syntaxBrian Behlendorf2009-06-261-17/+38
| | | | | | | | | | | | was failing so it was replaced with the longer %if version. %{!?foo: %define foo bar} changed to %if %{undefined foo} %define foo bar %endif
* SRPM build farm / mock itergrationBrian Behlendorf2009-06-261-15/+20
|
* Build farm integration to ensure BuildRequires are correctBrian Behlendorf2009-06-251-3/+3
|
* Packaging FixesBrian Behlendorf2009-06-251-50/+68
| | | | | | | | - Kernel modules should be built using the LINUX_OBJ Makefiles and not the LINUX Makefiles to ensure the proper install paths are used. - Install modules in to addon/spl/ - Ensure no additional kernel module build products are packaged. - Simplified spl.spec.in which supports RHEL, CHAOS, SLES, FEDORA.
* Packaging improvements for RHEL and SLES (part 2)Brian Behlendorf2009-06-161-1/+1
| | | | | | | - Allow checking for exported symbols in both Module.symvers and Module.symvers. My stock SLES kernel ships an objects directory with Module.symvers, yet produces a Module.symvers in the local build directory.
* Packaging improvements for RHEL and SLESBrian Behlendorf2009-06-161-6/+36
| | | | | | | | | | | | | | | - Properly honor --prefix in build system and rpm spec file. - Add '--define require_kdir' to spec file to support building rpms against kernel sources installed in non-default locations. - Add '--define require_kobj' to spec file to support building rpms against kernel object installed in non-default locations. - Stop suppressing errors in autogen.sh script. - Improved logic to detect missing kernel objects when they are not located with the source. This is the common case for SLES as well as in-tree chaos kernel builds and is done to simply support for multiple arches. - Moved spl-devel build products to /usr/src/spl-<version>, a spl symlink is created to reference the last installed version.
* Build system cleanupBrian Behlendorf2009-03-111-1/+1
| | | | | | 1) Undefine non-unique entries in spl_config.h 2) Minor Makefile cleanup 3) Don't use includedir for proper kernel header install
* Build system and packaging (RPM support)Brian Behlendorf2009-03-091-0/+104
An update to the build system to properly support all commonly used Makefile targets these include: make all # Build everything make install # Install everything make clean # Clean up build products make distclean # Clean up everything make dist # Create package tarball make srpm # Create package source RPM make rpm # Create package binary RPMs make tags # Create ctags and etags for everything Extra care was taken to ensure that the source RPMs are fully rebuildable against Fedora/RHEL/Chaos kernels. To build binary RPMs from the source RPM for your system simply run: rpmbuild --rebuild spl-x.y.z-1.src.rpm This will produce two binary RPMs with correct 'requires' dependencies for your kernel. One will contain all spl modules and support utilities, the other is a devel package for compiling additional kernel modules which are dependant on the spl. spl-x.y.z-1_<kernel version>.x86_64.rpm spl-devel-x.y.2-1_<kernel version>.x86_64.rpm