Commit graph

8 commits

Author SHA1 Message Date
Jan-Hendrik Frintrop
22b2fcf742 Change default deb package name (#19)
* Change default deb package name

Changed default deb package name to `"{$name}_{$version}_{$arch}.deb"` since this is what normally would be generated.

* Fix tests for default deb name

The tests with default package name still expected the old version of the name.

* Fixed tests

Tests tried to get the Control via `$this->getControl()` which obviously failed.
2017-07-18 12:07:15 +02:00
Jan-Hendrik Frintrop
c2fa2ffd7f Fix setMaintainer (#14)
* Fix brackets of maintainer email

The email address of the maintainer must use angle brackes as per https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Maintainer
Also there should be a space between name and email.

* Use variable interpolation for maintainer name

Since you already use interpolation for maintainer email you can use it for name too.

* Fix default value for maintainer

The default value for the maintainer still had the square brackets.

* Fix tests for StandardFile

The tests still used square brackets.
2017-07-18 12:06:01 +02:00
Walter Dal Mut
9ccde2227a Added functional test
* The packager will throws exceptions when the output folder exists
2015-05-26 10:23:25 +02:00
Walter Dal Mut
664cff2bf0 Added getControl method
In order to retrive the actual control file i have added a new getter
method for the control file
2015-04-12 11:27:56 +02:00
Walter Dal Mut
0c2ba5071d BC Break packager - Simplifies packager maintenance 2014-12-03 23:24:42 +01:00
Walter Dal Mut
f097b8cf31 Cover base configuration overwrite 2014-12-03 22:49:48 +01:00
Walter Dal Mut
529a529185 Cover filter out extra properties 2014-12-03 22:41:32 +01:00
Walter Dal Mut
dab5976eb3 Added standard control file test case 2014-12-03 22:38:07 +01:00