Bug 9118

Summary: Fix RPM Provides generation for python egg-info files
Product: [ROSA-based products] ROSA Fresh Reporter: Andrey Bondrov <andrey.bondrov>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: RESOLVED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: critical    
Priority: Highest CC: v.potapov
Version: AllFlags: v.potapov: qa_verified+
andrey.bondrov: published+
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: --- ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Andrey Bondrov 2018-06-21 11:17:05 MSK
After recent rosa2016.1 updates we got broken dependencies:

# urpmi --auto-select 
Следующие пакеты будут удалены для обновления остальных:
pylint-1.7.2-1-rosa2016.1.noarch (из-за неудовлетворённости pythonegg(astroid) >= 1.5.1, из-за отсутствия pythonegg(logilab-astng))
python-astroid-1.5.3-1-rosa2016.1.noarch (из-за отсутствия pythonegg(wrapt)) 
(y/N)

It happened because egg-info files with Python code examples (added in python-wrapt 1.10.11) are detected by RPM as "Python script" instead of "ASCII text".

RPM doesn't run pythoneggs.py to generate Provides for "Python script" files. So we need to force "ASCII text" type for *.egg and *.egg-info files.
Comment 1 Andrey Bondrov 2018-06-21 11:19:32 MSK
Advisory: "Fix RPM Provides generation for python egg-info files (force ASCII text type for *.egg and *.egg-info)"

rpm:
https://abf.rosalinux.ru/build_lists/2937506
https://abf.rosalinux.ru/build_lists/2937507

Rebuild python-wrapt with fixed Provides:
https://abf.rosalinux.ru/build_lists/2937512
https://abf.rosalinux.ru/build_lists/2937513
Comment 2 Vladimir Potapov 2018-06-21 11:29:32 MSK
The update is sent to expanded testing
****************************************
Comment 3 Vladimir Potapov 2018-06-22 07:54:27 MSK
rpm-5.4.10-79
https://abf.rosalinux.ru/build_lists/2937506
https://abf.rosalinux.ru/build_lists/2937507

python-wrapt-1.10.11-2
https://abf.rosalinux.ru/build_lists/2937512
https://abf.rosalinux.ru/build_lists/2937513
***************************** Advisory **********************
Fix RPM Provides generation for python egg-info files (force ASCII text type for *.egg and *.egg-info)
*************************************************************
QA Verified