| Commit message (Collapse) | Author | Age |
|
|
|
| |
Fails with newer rpmlib
|
|
|
|
|
|
| |
See also
https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
|
| |
|
|
|
|
|
|
|
|
|
| |
Try to do "the right thing" when %autosetup macro is used in the spec
file. That is, do not examine/manage %patch macros at all, but, assume
that patches are handled by %autosetup which was introduced in RPM
v4.11.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
| |
Not all of them are in newer librpm and this way we can add new ones as
needed as well.
|
| |
|
| |
|
| |
|
|
|
|
| |
for readability
|
|
|
|
| |
Files and blobs are bytestrings now
|
|
|
|
| |
Git-Dch: Ignore
|
|
|
|
|
|
| |
Upstream tags are without epoch so we need to filter that out too.
Thanks: Tzafrir Cohen
|
| |
|
|
|
|
|
|
|
|
|
| |
The %patch macro of rpm supports the flag -F<num>, which seems to be
similar to that of patch(1): allow patches with a specific fuzz.
Parse the option but ignore it since we don't want patches with fuzz.
Closes: #846479
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The parser uses optparse and gave confusing error messages on failure
like:
Usage: buildpackage_rpm.py [options]
buildpackage_rpm.py: error: no such option: -F
This now looks like
Usage: gbp.rpm internal patch macro opts parser for -F2
gbp.rpm internal patch macro opts parser: error: no such option: -F
|
|
|
|
| |
Git-Dch: Ignore
|
| |
|
|
|
|
|
|
|
| |
Use this in PristineTar and SrcRpmFile to give better error messages if
the command doesn't even get to print to stderr (i.e. missing on disk).
Closes: #842592
|
|
|
|
|
|
| |
to work towards Python3 support
Gbp-Dch: Ignore
|
|
|
|
|
|
| |
Long does not exist in Python3
Git-Dch: Ignore
|
|
|
|
|
|
| |
to work towards Python3 support
Gbp-Dch: Ignore
|
|
|
|
| |
use gnu.org/licences instead of a postal address, as suggested by Guido
|
|
|
|
| |
to make it Python3 compatible
|
|
|
|
|
|
| |
so we can better debug failures like
http://honk.sigxcpu.org:8001/job/git-buildpackage/230/changes
|
|
|
|
| |
Gbp-Dch: Ignore
|
|
|
|
| |
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Implements a new gbp.rpm module that contains functionality for e.g.
parsing and editing spec files, reading src.rpm files rpm-specific
packaging policy etc.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Signed-off-by: Huang Hao <hao.h.huang@intel.com>
|