Bug 1473926

Summary: spec file correction for python-certifi-2016.9.26-2.fc26.src.rpm
Product: [Fedora] Fedora Reporter: Leif Liddy <leif.liddy>
Component: python-certifiAssignee: William Moreno <williamjmorenor>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: williamjmorenor
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-30 14:19:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
python-certifi spec file patch none

Description Leif Liddy 2017-07-22 13:19:45 UTC
Description of problem:

In python-certifi.spec file:

%package -n python2-%{pypi_name}
Summary:        %{sum}
%{?python_provide:%python_provide python2-%{pypi_name}}

'sum' variable has not been defined, resulting in no summary information being displayed for the python2-certutil rpm. 


Steps to Reproduce:
dnf info python2-certifi
....
Name         : python2-certifi
Version      : 2016.9.26
Release      : 2.fc26
Arch         : noarch
Size         : 7.5 k
Source       : python-certifi-2016.9.26-2.fc26.src.rpm
Repo         : @System
From repo    : fedora
Summary      : %{sum}
...

Comment 1 Leif Liddy 2017-07-22 13:20:55 UTC
Created attachment 1302726 [details]
python-certifi spec file patch

Comment 2 Leif Liddy 2017-07-22 13:28:09 UTC
List of all affected python packages:

# dnf search python | grep '%{sum}'

python2-ivi.noarch : %{sum}
python3-svg.noarch : %{sum}
python2-empy.noarch : %{sum}
python3-empy.noarch : %{sum}
python2-kombu.noarch : %{sum}
python2-vxi11.noarch : %{sum}
python3-kombu.noarch : %{sum}
python2-certifi.noarch : %{sum}
python2-assimulo.x86_64 : %{sum}
python2-biopython.x86_64 : %{sum}
python3-sleekxmpp.noarch : %{sum}
python3-pluginbase.noarch : %{sum}