Bug 1706261 - python3-geoip2 package has the wrong description
Summary: python3-geoip2 package has the wrong description
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-geoip2
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-03 23:37 UTC by Samuel Sieb
Modified: 2019-05-04 08:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-04 08:19:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Samuel Sieb 2019-05-03 23:37:06 UTC
There's something wrong with the spec file such that the python3-geoip2 package has the same description as the doc package.

Comment 1 Carl George 2019-05-04 07:12:55 UTC
I'm not sure what you're seeing.  The descriptions look correct to me.

$ rpm -q python3-geoip2 python-geoip2-doc
python3-geoip2-2.9.0-5.fc29.noarch
python-geoip2-doc-2.9.0-5.fc29.noarch

$ rpm -q --qf '%{description}\n' python3-geoip2
This package provides an API for the GeoIP2 web services.

$ rpm -q --qf '%{description}\n' python-geoip2-doc
This package provides the documentation for geoip2.

If you are seeing descriptions other than the above, how are you viewing them?  Can you give me more details about what you think is wrong in the spec?

Comment 2 Samuel Sieb 2019-05-04 07:43:58 UTC
I apologize for the too brief and incorrect explanation.  It's the summary that's wrong.  Try running "rpm -qi python3-geoip2".

# dnf info python3-geoip2
Available Packages
Name         : python3-geoip2
Version      : 2.9.0
Release      : 5.fc29
Architecture : noarch
Size         : 39 k
Source       : python-geoip2-2.9.0-5.fc29.src.rpm
Repository   : fedora
Summary      : Documentation for python-geoip2
URL          : https://www.maxmind.com/
License      : ASL 2.0
Description  : This package provides an API for the GeoIP2 web services.

Comment 3 Carl George 2019-05-04 08:19:08 UTC
Ah, I see.  python3-geoip2 was reusing %{summary}, but came after the doc subpackage, so it was reusing that summary instead of the main one.  Thanks for reporting this.  It's now fixed in the spec file.

https://src.fedoraproject.org/rpms/python-geoip2/c/bfa21dd69d078a4d1102dd6d56e4bf6012d75e3a

I don't think it's necessary to roll new releases just for this, but it will be correct going forward.


Note You need to log in before you can comment on or make changes to this bug.