diff --git python-google-apputils/python-google-apputils.spec python-google-apputils/python-google-apputils.spec.tmp index 425c31f5cd..d29e5531c1 100644 --- python-google-apputils/python-google-apputils.spec +++ python-google-apputils/python-google-apputils.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 0.4.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Google Application Utilities for Python License: ASL 2.0 @@ -18,27 +18,35 @@ BuildRequires: python-gflags BuildRequires: pytz # For tests BuildRequires: python-mox + +%global _description\ +This project is a small collection of utilities for building Python\ +applications. It includes some of the same set of utilities used to build and\ +run internal Python apps at Google.\ +\ +Features:\ +\ +* Simple application startup integrated with python-gflags.\ +* Subcommands for command-line applications.\ +* Option to drop into pdb on uncaught exceptions.\ +* Helper functions for dealing with files.\ +* High-level profiling tools.\ +* Timezone-aware wrappers for datetime.datetime classes.\ +* Improved TestCase with the same methods as unittest2, plus helpful flags for\ + test startup.\ +* google_test setuptools command for running tests.\ +* Helper module for creating application stubs. + +%description %_description + +%package -n python2-%{srcname} +Summary: %summary Requires: python-dateutil Requires: python-gflags Requires: pytz +%{?python_provide:%python_provide python2-%{srcname}} -%description -This project is a small collection of utilities for building Python -applications. It includes some of the same set of utilities used to build and -run internal Python apps at Google. - -Features: - -* Simple application startup integrated with python-gflags. -* Subcommands for command-line applications. -* Option to drop into pdb on uncaught exceptions. -* Helper functions for dealing with files. -* High-level profiling tools. -* Timezone-aware wrappers for datetime.datetime classes. -* Improved TestCase with the same methods as unittest2, plus helpful flags for - test startup. -* google_test setuptools command for running tests. -* Helper module for creating application stubs. +%description -n python2-%{srcname} %_description %package -n python3-%{srcname} Summary: Google Application Utilities for Python 3 @@ -115,7 +123,7 @@ popd #popd -%files +%files -n python2-%{srcname} %license python2/LICENSE %doc python2/README %{python2_sitelib}/* @@ -127,6 +135,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.4.2-10 +- Python 2 binary package renamed to python2-google-apputils + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.4.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild