Summary: | require the enclosing dir or corresponding python(.) module | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> |
Component: | rpm-build-python | Assignee: | Ivan Zakharyaschev <imz> |
Status: | NEW --- | QA Contact: | qa-sisyphus |
Severity: | enhancement | ||
Priority: | P3 | CC: | darktemplar, george, imz, ldv, valintinr |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
Bug Depends on: | |||
Bug Blocks: | 32200 |
Description
Ivan Zakharyaschev
2016-06-16 20:24:49 MSK
I have a slight suspicion that turning off the optimization of intrapackage deps in python.req.py would mitigate the problem (at least in this case). And it must be a good change overall. interpackage deps can be left to be treated by rpm-build itself (since 4.0.4-alt100.63), which can do better, because it should treat the division between subpkgs better. Special attention to autoreqs with "< set-of-paths": they are not going to be optimized by rpm-build, are they? Cf. 4.0.4-alt100.64: "enhanced interdep algorithm further so that manual requirements containing "<" or ">" operators are now left intact, while all generated requirements on subpackages are now made strict." Yes, IIUC, such autoreqs will be optimized, too, which what we actually want. (In reply to comment #1) > I have a slight suspicion that turning off the optimization of intrapackage > deps in python.req.py would mitigate the problem (at least in this case). And > it must be a good change overall. > > interpackage deps can be left to be treated by rpm-build itself (since > 4.0.4-alt100.63), which can do better, because it should treat the division > between subpkgs better. I'll postpone the change till the mass rebuild of packages for the substitution of x86_64 checks is over (not to break the submittability to Sisyphus because of new deps and finish this task quicker). |