diff --git python-imdb/python-imdb.spec python-imdb/python-imdb.spec.tmp index 43708272d4..9aaef90eda 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 +%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 %_description + +%package -n python2-imdb +Summary: %summary Requires: python-sqlobject, python-lxml, python-BeautifulSoup Requires: python-formencode, python-sqlalchemy, python-migrate Provides: IMDbPY = %{version}-%{release} +%{?python_provide:%python_provide python2-imdb} -%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 -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 +* Sat Aug 12 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