Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guess strip for patch from patch itself #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 17, 2016

  1. Guess strip for patch from patch itself

    Some RPM spec files use non-standart way of applying patches:
    they don't use %patch macro but call 'patch' directly from
    inlined script or use 'git apply'. In such cases gbp can't
    detect patch strip value and fails.
    
    This patch adds a bit of logic to guess patch strip value
    from patch itself is possible.
    teselkin committed May 17, 2016
    Configuration menu
    Copy the full SHA
    8365ac8 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2016

  1. Fix guess_strip function

    teselkin committed May 19, 2016
    Configuration menu
    Copy the full SHA
    8dcaba8 View commit details
    Browse the repository at this point in the history
  2. Add tests

    teselkin committed May 19, 2016
    Configuration menu
    Copy the full SHA
    561f8c9 View commit details
    Browse the repository at this point in the history