diff --git python-imdb/python-imdb.spec python-imdb/python-imdb.spec.tmp index 43708272d4..0786dc2362 100644 --- python-imdb/python-imdb.spec +++ python-imdb/python-imdb.spec.tmp @@ -2,7 +2,7 @@ Name: python-imdb Version: 5.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Retrieve and manage the data of the IMDb movie database Group: Development/Languages @@ -16,16 +16,23 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel, python-setuptools, gettext -Requires: python-sqlobject, python-lxml, python-BeautifulSoup -Requires: python-formencode, python-sqlalchemy, python-migrate -Provides: IMDbPY = %{version}-%{release} +%global _description\ +IMDbPY is a Python package useful to retrieve and manage the data of\ +the IMDb movie database about movies, people, characters and companies.\ +\ +IMDbPY is mainly a tool intended for programmers and developers, but\ +some example scripts are included. -%description -IMDbPY is a Python package useful to retrieve and manage the data of -the IMDb movie database about movies, people, characters and companies. +%description %_description -IMDbPY is mainly a tool intended for programmers and developers, but -some example scripts are included. +%package -n python2-imdb +Summary: %summary +Provides: IMDbPY = %{version}-%{release} +Requires: python-formencode, python-sqlalchemy, python-migrate +Requires: python-sqlobject, python-lxml, python-BeautifulSoup +%{?python_provide:%python_provide python2-imdb} + +%description -n python2-imdb %_description %prep %setup -qn %{realname}-%{version} @@ -71,7 +78,7 @@ done rm -rf $RPM_BUILD_ROOT -%files -f imdbpy.lang +%files -n python2-imdb -f imdbpy.lang %defattr(-,root,root,-) %doc docs/AUTHOR.txt docs/Changelog.txt docs/CONTRIBUTORS.txt docs/DISCLAIMER.txt docs/FAQS.txt docs/LICENSE.txt docs/README* docs/TODO.txt docs/imdbpy.cfg %doc examples @@ -80,6 +87,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 5.1-5 +- Python 2 binary package renamed to python2-imdb + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild