diff --git python-vcrpy/python-vcrpy.spec python-vcrpy/python-vcrpy.spec.tmp index a23a68c96f..c41ff53455 100644 --- python-vcrpy/python-vcrpy.spec +++ python-vcrpy/python-vcrpy.spec.tmp @@ -14,7 +14,7 @@ Name: python-vcrpy Version: 1.10.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Automatically mock your HTTP interactions to simplify and speed up testing Group: Development/Libraries @@ -35,11 +35,6 @@ BuildRequires: python-contextlib2 BuildRequires: python-wrapt #BuildRequires: python-backport_collections -Requires: PyYAML -Requires: python-mock -Requires: python-six -Requires: python-contextlib2 -Requires: python-wrapt #Requires: python-backport_collections %if 0%{?with_python3} @@ -54,17 +49,30 @@ BuildRequires: python3-wrapt #BuildRequires: python3-backport_collections %endif -%description -Simplify and speed up testing HTTP by recording all HTTP interactions and -saving them to "cassette" files, which are yaml files containing the contents -of your requests and responses. Then when you run your tests again, they all -just hit the text files instead of the internet. This speeds up your tests and -lets you work offline. - -If the server you are testing against ever changes its API, all you need to do -is delete your existing cassette files, and run your tests again. All of the +%global _description\ +Simplify and speed up testing HTTP by recording all HTTP interactions and\ +saving them to "cassette" files, which are yaml files containing the contents\ +of your requests and responses. Then when you run your tests again, they all\ +just hit the text files instead of the internet. This speeds up your tests and\ +lets you work offline.\ +\ +If the server you are testing against ever changes its API, all you need to do\ +is delete your existing cassette files, and run your tests again. All of the\ mocked responses will be updated with the new API. +%description %_description + +%package -n python2-vcrpy +Summary: %summary +Requires: python-wrapt +Requires: python-contextlib2 +Requires: python-six +Requires: python-mock +Requires: PyYAML +%{?python_provide:%python_provide python2-vcrpy} + +%description -n python2-vcrpy %_description + %if 0%{?with_python3} %package -n python3-vcrpy Summary: Automatically mock your HTTP interactions to simplify and speed up testing @@ -129,7 +137,7 @@ popd #popd #%%endif -%files +%files -n python2-vcrpy # No readme or license yet # https://github.com/kevin1024/vcrpy/pull/148 #%doc README.md @@ -148,6 +156,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.10.5-4 +- Python 2 binary package renamed to python2-vcrpy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.10.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild