summaryrefslogtreecommitdiff
path: root/autodeps
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-06-21 13:45:13 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-06-21 13:59:00 +0300
commit6c5214950e5885c33c498969ca256c9550f5936b (patch)
treed422a83f3279fadd014db85a8bd284513c80efbf /autodeps
parent7c8c36c3342cacc860796b28aaaef4cfb3461901 (diff)
downloadlibrpm-tizen-6c5214950e5885c33c498969ca256c9550f5936b.tar.gz
librpm-tizen-6c5214950e5885c33c498969ca256c9550f5936b.tar.bz2
librpm-tizen-6c5214950e5885c33c498969ca256c9550f5936b.zip
Add a set of macros to further automate spec %prep tasks
- This adds two main macros (+ bunch of helpers) to automate the common case tasks in %prep: 1) %autopatch which automatically applies all patches from a spec 2) %autosetup which (optionally) takes care of it all, and (also optionally) sets up a git/hg repository of the unpacked source + applied patches as it goes. - This should be considered a starting point only, there are various things to improve. Eg we'd like to be able to make backups with plain patch (based on patch number maybe) and at least with git, we'd like to be able be (optionally) use 'git am' patching style to preserve original authors + commit messages etc. - A noteworthy point here is that as these are fully implemented as macros, they are compatible with several older rpm versions as well.
Diffstat (limited to 'autodeps')
0 files changed, 0 insertions, 0 deletions