aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
Commit message (Collapse)AuthorAgeFilesLines
* Add support for distutilsAdam Stokes2013-07-261-1/+14
| | | | | | | | | | - We are planning on moving to python distutils for future packaging however, we still want to keep our current build infrastructure around until we are able to test the builds overtime. For now distutils will live alongside the current build process and slowly replace the Makefiles once deemed fit. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Fix latest debian packaging suggestions.Adam Stokes2013-05-091-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1) lintian information, you should run lintian with '-IE --pedantic', lintian will tell you more if there are any problem. There are still some lintian information, but I don't care of them. you may fix them when you polish your package. 2) You use old format copyright files, it is better to switch to DEP5[1] compatible format. lintian shows this information. 3) The section is python, but I think admin should be better, after all, sosreport is a sysadmin tool 4) Please move LICENSE file to usr/share/doc/sosreport, rather than remove it. A note about 4. I have removed the actual installing of the LICENSE file in the Makefile in favor of the distribution specific packaging handle it. For example, within Debian everything is placed in debian/copyright which removes the need for our Makefile to do anything with the LICENSE file. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Remove python-support, attempt to remove LICENSE after dh_auto_installAdam Stokes2013-04-111-8/+5
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Refactoring DebianPackageManager to use the superclassJesse Jaggars2012-03-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 4973246ac9ade11bbaf113985a1410939ca3ccf5 Author: Adam Stokes <hackr@cypherbook.com> Date: Mon Mar 5 00:15:00 2012 -0500 packaging: Fix install perms within our python package directory and update packaging to use support dh_python2 helper. During installation of plugins/policies we were giving additional rwx bits to those files. This addresses some complaints from debian's rpmlint equivalent lintian. Also updated the build rules to support dh_python2 rather than deprecated dh_pysupport. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 986981941e058afb593baaba676b2aef0e6e1147 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:19:56 2012 -0500 ubuntu.template: set passphrase so anyone referencing will know its an example. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 809bdc150a5e2456d3ee87c34c06eaa002edf43c Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:11:33 2012 -0500 Makefile: generic name for build dir, fix failure during make install and GPG configurable. First, changed build dir from rpm-build to dist-build to keep things more general. Second, Makefile was not updated to reflect recent housecleaning wrt removing TODO file Finaly, added ability use optional gpg templates during build phase Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 61d583d7eb913402f4200b5ece7ad2732cafd716 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:09:11 2012 -0500 debian/rules: Do not run dh_auto_test by default For systems which do not contain previously installed sosreport the test suite will fail due to not being able to find the sos python package. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit a8950a892a905575da0993785623946ea8276075 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:02:24 2012 -0500 sos/policies/debian: do not use a list with shell_out routine when listing packages. A recent bug was previously found wrt shell_out not accepting a list of commands/parameters. This policy is updated to run the routine appropriately. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 6b2300ee8bb121042f3dac91411773a8c788f6b8 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 22:46:33 2012 -0500 debian/control: Make package name consistent with other distros Debian/Ubuntu was set with a package name sosreport which isn't the package name during builds on RHEL/Fedora. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* debian: Add packaging rules for Debian/UbuntuAdam Stokes2012-02-211-0/+7
Signed-off-by: Adam Stokes <adam.stokes@canonical.com>