Re: [Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-28 Thread Lubos Kardos
Closed #56. --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/56#event-529846565___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint

Re: [Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-28 Thread Lubos Kardos
Applied as ff30bf02b52b5de0acf1175bdc0d75ddb7028584 --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/56#issuecomment-176238538___ Rpm-maint mailing list Rpm-maint@lists.rpm.org

Re: [Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-28 Thread Andreas Scherer
What error do you get? I just checked, installed _this_ branch and edited [MMIX specfile](https://github.com/ascherer/mmix/blob/local/mmix.spec#L36) accordingly. ``` debbuild -bp SPECS/mmix.spec ``` runs perfectly with `-S git`, `-S git_am`, `-S patch`, and `-S quilt`, but **not** with `-S

Re: [Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-28 Thread ニール・ゴンパ
@ascherer Eck, I didn't override the macro properly to test, that's why... It's all good to me :+1: --- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/56#issuecomment-176159440___ Rpm-maint

Re: [Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-28 Thread ニール・ゴンパ
@ascherer It doesn't look like -S is supported anymore in `%autosetup`. Does `%autosetup -S git` or something like that still work correctly? --- Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm] Permit dynamic selection of SCM. (#56)

2016-01-27 Thread Andreas Scherer
Invoking `%__scm_setup_$__scm` _without_ looking at option `-S` in the specfile, but taking the current definition of `%__scm` into account, permits dynamic selection of the SCM on the commandline ``` rpmbuild --define="__scm SCM" ``` Default SCM `patch` already has a convenient