Univention Bugzilla – Full Text Bug Listing |
Summary: | Adjust dh_umc for dh_python2 | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC (Generic) | Assignee: | Johannes Keiser <keiser> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | keiser |
Version: | UCS 4.4 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.4-3-errata | ||
Hardware: | All | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | 49161 | ||
Bug Blocks: | 28497 | ||
Attachments: | patch |
Description
Florian Best
2019-10-08 15:31:51 CEST
The idea here is that dh_umc evaluates the debian control file and adds the python2 or python3 files depending on the ${python:Provides} and ${python3:Provides} Provides entry. Created attachment 10236 [details]
patch
1dc09c3959 Bug #50332: debian changelog 68f12c6455 Bug #50332: remove option from shebang 92771f270a Bug #50332: yaml 7eb838a17c Bug #50332: debian changelog e8d753dce4 Bug #50332: install umc modules under python2.7 and/or python3 depending on what they provide Successful build Package: univention-ucs-translation-template Version: 6.0.0-14A~4.4.0.202002171321 Successful build Package: univention-management-console Version: 11.0.4-57A~4.4.0.202002171325 Applied patch: binary packages that provide an umc module are installed under python2.7 and/or python3 depending on the 'Provides' field What I tested: Build a package without any "provides" -> python2.7 is build -> OK Build a package which provides python and python3 -> python2.7 and python3 is build -> OK [4.4-3 35f3fd8af4] Bug #50332: yaml -> Verified |