Fix the problem that "fedpkg local" in a clone of package X could use a.spec instead of X.spec . Prefer the spec file that matches the directory name, and issue a warning if there is any doubt.
Fixes https://pagure.io/fedpkg/issue/458
The change looks good.
Pull-Request has been merged by onosek
Fix the problem that "fedpkg local" in a clone of package X could use
a.spec instead of X.spec . Prefer the spec file that matches the
directory name, and issue a warning if there is any doubt.
Fixes https://pagure.io/fedpkg/issue/458