Commit Graph

239 Commits

Author SHA1 Message Date
Jordan Sissel 3d78912b98 Make sure all things template 2012-08-07 10:48:13 -07:00
Jordan Sissel 3fc1f58d72 - support templating package/maintainer scripts (#246)
- include test coverage
2012-08-07 10:25:13 -07:00
Jordan Sissel c6d3ddb6bc Merge pull request #208 from jacaetevha/master
RPM user and group setting for %files section
2012-05-23 10:47:10 -07:00
Jordan Sissel 0480658b8d Skip python specs if easy_install isn't available 2012-05-12 00:59:05 -07:00
Jason Rogers 890aea23a0 add specs for user and group settings 2012-04-18 13:08:45 -04:00
Jordan Sissel 646cf5ef44 Add regression tests for #202 2012-04-10 16:18:31 -07:00
Jordan Sissel 90b065958c - Make file exclusion work again. Fixes #185
This improves on the patch in #186.
- Add tests to make sure exclude stays working :)
2012-03-30 15:24:04 -07:00
Jordan Sissel 3123bd879d Improve default values for epoch and iteration on deb/rpm packages (Should fix #190) 2012-03-30 09:34:15 -07:00
Jordan Sissel 93f3879175 - Fix broken dpkg architecture test on i686 kernels
(discovered by failing tests run on travis-ci.org)
2012-03-30 09:06:10 -07:00
Jordan Sissel ee8967b06d - Add spec tests for compression and digest settings. (for #192) 2012-03-29 19:33:34 -07:00
Jordan Sissel 33ff80e8d2 Fix specs to work in ruby 1.8 2012-03-19 13:52:16 -07:00
Jordan Sissel b8b899eea0 It helps to add scripts *before* #output is invoked. Silly me 2012-03-18 22:58:10 -07:00
Jordan Sissel 6f02e1e95d Add package scripts spec to rpm 2012-03-18 22:55:51 -07:00
Jordan Sissel 5542637bcf add more default specs 2012-03-17 16:12:29 -07:00
Jordan Sissel 3e3a04c1bf Add specs to verify rpm conflicts and provides 2012-03-16 15:37:05 -07:00
Jordan Sissel 0cc16d68d1 - remove i386 -> i686 arch translation. Turns out in many cases this is
incorrect. Debian is confusing.
2012-03-15 17:42:22 -07:00
Jordan Sissel e41724d585 - fix name 2012-03-14 23:27:12 -07:00
Jordan Sissel db13e48301 - Add specs for the gem package 2012-03-14 23:26:58 -07:00
Jordan Sissel 9110469987 - Add specs for python 2012-03-15 00:17:13 +00:00
Jordan Sissel 114aa3ece9 - cleanup after each 2012-03-11 15:40:44 -07:00
Jordan Sissel dbd551c636 Add default #to_s (for package filename) based on observations of real rpm packages in the wild 2012-03-09 17:38:18 -08:00
Jordan Sissel cb05d02819 Add default #to_s (for package filename) based on observations of real deb packages in the wild 2012-03-09 17:38:07 -08:00
Jordan Sissel bfdde72427 - Add some dpkg-deb invocations to verify package goodness
- Add some specs to verify name translation with debian policy
2012-03-10 00:58:14 +00:00
Jordan Sissel 778cd62446 - more hacks for debian's arch naming 2012-03-09 15:15:10 -08:00
Jordan Sissel c07dd999cd Add more package defaults specs 2012-03-09 15:11:41 -08:00
Jordan Sissel 0b12b64f3d clean up after each 2012-03-09 13:30:08 -08:00
Jordan Sissel d0a7eced54 - add specs for package 'architecture' behaviors 2012-03-09 21:22:53 +00:00
Jordan Sissel fbbf6cbe64 - default architecture should be native 2012-03-09 20:59:22 +00:00
Jordan Sissel c89d757184 - skip rpm tests and warn if 'rpmbuild' is not found.
- add an 'rspec' specific log channel
2012-03-09 20:00:07 +00:00
Jordan Sissel e8f1b862bd - Add a regression spec for #164. Verified it passes now and fails
without the fix.
2012-03-08 18:07:27 -08:00
Jordan Sissel 96369f8ca7 version defaults to nil, now 2012-03-08 17:05:30 -08:00
Jordan Sissel 84352667fa - Add dependency parsing from deb packages on input
- specs passing
2012-03-08 15:21:38 -08:00
Jordan Sissel f89893ebc4 ar(1) bitches if the file exists but is empty, so delete the tempfile, we just want the path 2012-03-08 13:30:06 -08:00
Jordan Sissel a285b2ded8 - add spec stub for debian packages 2012-03-08 10:40:17 -08:00
Jordan Sissel 5ede8ec622 make sure some rpm spec stuff is correct 2012-03-08 10:17:36 -08:00
Jordan Sissel 5e734a541e - fix spec checking for rpm 'name'
- fix rpm 'defines' default
2012-03-08 09:32:12 -08:00
Jordan Sissel 3fa07b51fa fix syntax 2012-03-08 08:03:21 -08:00
Jordan Sissel 8d59d9e4c4 - try using rspec+insist 2012-03-08 00:03:04 -08:00
Jordan Sissel bb422a0259 - Use my new 'insist' library for assertions 2012-03-07 23:34:29 -08:00