diff --git python-xgoogle/python-xgoogle.spec python-xgoogle/python-xgoogle.spec.tmp index 9fa4d73b95..20b8719d46 100644 --- python-xgoogle/python-xgoogle.spec +++ python-xgoogle/python-xgoogle.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{realname} Version: 1.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python library to search Google without using their API Group: Development/Languages License: MIT @@ -14,13 +14,21 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: dos2unix -Requires: python-BeautifulSoup BuildArch: noarch -%description -A Python library to search Google without using their API. +%global _description\ +A Python library to search Google without using their API.\ + + +%description %_description +%package -n python2-%{realname} +Summary: %summary +Requires: python-BeautifulSoup +%{?python_provide:%python_provide python2-%{realname}} + +%description -n python2-%{realname} %_description %prep %setup -q -c -n %{realname}-%{version} @@ -45,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-%{realname} %defattr(-,root,root,-) %doc examples contributors.txt projects-using-xgoogle.txt readme.txt %{python_sitelib}/%{realname}/ @@ -53,6 +61,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.4-13 +- Python 2 binary package renamed to python2-xgoogle + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild