aboutsummaryrefslogtreecommitdiff
path: root/gbp/scripts/buildpackage_rpm.py
Commit message (Collapse)AuthorAge
* buildpackage: fix exporting of working copy when .git is not a directoryMarkus Lehtonen2017-01-20
| | | | | | as is the case with git submodules lately, for example Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage: Don't set a compression level if unset and make this the defaultGuido Günther2017-01-17
| | | | | | | | This allows compressors to use the their default compression level. Only applies when not using pristine-tar. Thanks: Antoine Beaupré for investigating Closes: #820846
* Quote arguments passed to builderGuido Günther2017-01-11
| | | | | Closes: #850869 Thanks: Simon McVittie
* buildpackage_rpm: flake8 cleanGuido Günther2016-12-07
|
* buildpackage_rpm: drop unused vcs_info()Guido Günther2016-12-07
|
* Fix new flake8 errorsGuido Günther2016-11-15
| | | | E305 expected 2 blank lines after class or function definition
* GitRepository.archive: use _git_inoutGuido Günther2016-10-09
| | | | | | instead of the deprecated _git_getoutput that spews to stderr This silences a spurious output to stderr in test_buildpackage_rpm
* Give more instructions when config is unparseableGuido Günther2016-07-04
| | | | | | | | and make return codes and messages consistent. This allows us to move some test code from the component tests to the unit tests which is always nice. Closes: #733640
* buildpackage: Handle Ctrl-C more gracefullyGuido Günther2016-07-04
|
* buildpackage_rpm: implement --native optionMarkus Lehtonen2015-12-09
| | | | | | | | | Implement a new command line/config file option for forcing a package to be [non-]native. This makes it possible to set the 'nativity' of a package in gbp.conf and avoid the pitfalls caused by guessing based on git branch names. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage_rpm: use correct archive formatMarkus Lehtonen2015-12-02
| | | | | | Use correct archive format also with git_archive_single(). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage-rpm: fix crash when creating packaging tagsMarkus Lehtonen2015-11-20
| | | | | | | Creating of tags got broken when support for mock was introduced in bfe32f19e7a2a24b93b36467772254583c34b6ff. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage-rpm: add support for mock chroot builderGuido Günther2015-11-16
| | | | | | | | | | Try: gbp buildpackage-rpm --git-mock --git-dist=epel-6 Results will be under ../rpmbuild/results/ This is very heavily based on a patch from Tzafrir Cohen.
* buildpackage_rpm: use six.configparserGuido Günther2015-10-23
| | | | for Python3 compatibility
* Remove unused importsGuido Günther2015-10-23
| | | | Git-Dch: Ignore
* Change FSF address to URL in few more file headersMarkus Lehtonen2015-10-20
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage_rpm: remove tempdirMarkus Lehtonen2015-10-20
|
* buildpackage_rpm: fix crash when package has no source archiveMarkus Lehtonen2015-10-20
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage_rpm: use wc_name from commonMarkus Lehtonen2015-10-19
| | | | | | | Use the special "treeish" name for working copy as configured in gbp.common.buildpackage instead of hardcoding it in buildpackage_rpm. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Add gbp buildpackage-rpmGuido Günther2015-08-19
This adds a minimal gbp buildpackage-rpm based on Markus Lehtonens work.