# # This file is auto-generated. DO NOT EDIT # Generated by: autospec.py # Name : python-absl Version : 0.9.0 Release : 1%{?dist} URL : https://files.pythonhosted.org/packages/57/8d/6664518f9b6ced0aa41cf50b989740909261d4c212557400c48e5cda0804/absl-py-%{version}.tar.gz Source0 : https://files.pythonhosted.org/packages/57/8d/6664518f9b6ced0aa41cf50b989740909261d4c212557400c48e5cda0804/absl-py-%{version}.tar.gz #URL : https://pypi.python.org/packages/f4/bc/b19223874bf38e1f5ae6d1297b56cf87838985e87a96488c3058a8677bd3/absl-py-0.1.13.tar.gz #Source0 : https://pypi.python.org/packages/f4/bc/b19223874bf38e1f5ae6d1297b56cf87838985e87a96488c3058a8677bd3/absl-py-0.1.13.tar.gz Summary : Abseil Python Common Libraries, see https://github.com/abseil/abseil-py. Group : Development/Tools License : Apache-2.0 BuildArch: noarch BuildRequires : python2-devel BuildRequires : python2-setuptools BuildRequires : python3-devel BuildRequires : python3-setuptools %description # Abseil Python Common Libraries This repository is a collection of Python library code for building Python applications. The code is collected from Google's own Python code base, and has been extensively tested and used in production. %package -n python2-absl Summary: python components for the absl-py package. Group: Default Requires: python2 Obsoletes: absl-python2 %description -n python2-absl python components for the absl-py package. %package -n python3-absl Summary: python3 components for the absl-py package. Group: Default Requires: python3 Obsoletes: absl-python3 %description -n python3-absl python3 components for the absl-py package. %prep %autosetup -n abseil-py-pypi-v%{version} %build %{__python2} setup.py build -b py2 %{__python3} setup.py build -b py3 %install rm -rf %{buildroot} %{__python2} -tt setup.py build -b py2 install --root=%{buildroot} %{__python3} -tt setup.py build -b py3 install --root=%{buildroot} %files -n python2-absl %defattr(-,root,root,-) %{python2_sitelib}/absl %{python2_sitelib}/absl_py-%{version}-py%{python2_version}.egg-info %files -n python3-absl %defattr(-,root,root,-) %{python3_sitelib}/absl %{python3_sitelib}/absl_py-%{version}-py%{python3_version}.egg-info %changelog * Fri Mar 13 2020 Yupeng Chang - 0.9.0-1 - Update to 0.9.0 * Tue May 28 2019 Yupeng Chang - 0.7.1-1 - Update to 0.7.1 * Wed Nov 07 2018 Yupeng Chang - 0.2.2-2 - Rename package * Thu Jul 19 2018 Yupeng Chang - 0.2.2-1 - Initial build