From 85b69cce83327ebb24c94dfc070bccb6468175a0 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Sun, 17 Jun 2018 23:36:45 +0100 Subject: [PATCH] rename patch, apply with backups --- ...sqlalchemy-1.2.8-ignore-DeprecationWarning.patch | 0 python-sqlalchemy.spec | 13 +++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) rename python-sqlalchemy-ignore-DeprecationWarning.patch => python-sqlalchemy-1.2.8-ignore-DeprecationWarning.patch (100%) diff --git a/python-sqlalchemy-ignore-DeprecationWarning.patch b/python-sqlalchemy-1.2.8-ignore-DeprecationWarning.patch similarity index 100% rename from python-sqlalchemy-ignore-DeprecationWarning.patch rename to python-sqlalchemy-1.2.8-ignore-DeprecationWarning.patch diff --git a/python-sqlalchemy.spec b/python-sqlalchemy.spec index 2e340d5..7610e2b 100644 --- a/python-sqlalchemy.spec +++ b/python-sqlalchemy.spec @@ -14,9 +14,9 @@ License: MIT URL: http://www.sqlalchemy.org/ Source0: https://files.pythonhosted.org/packages/source/S/%{srcname}/%{srcname}-%{version}.tar.gz -# There are DeprecationWarnings that prevent the tests from running on Python 3.7 -# Those should be fixed upstream, we ignore them instead -Patch0: %{name}-ignore-DeprecationWarning.patch +# There are DeprecationWarnings that prevent the tests from running on Python +# 3.7 Those should be fixed upstream, we ignore them instead +Patch0: python-sqlalchemy-1.2.8-ignore-DeprecationWarning.patch BuildRequires: gcc @@ -87,7 +87,9 @@ This package includes the python 3 version of the module. %global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$ %prep -%autosetup -p1 -n %{srcname}-%{version} +%setup -n %{srcname}-%{version} + +%patch0 -p1 -b .ignore-DeprecationWarning %build %py2_build @@ -132,6 +134,9 @@ PYTHONPATH=. %{__python3} -m pytest test -k "not test_round_trip_direct_type_aff %endif # with_python3 %changelog +* Sun Jun 17 2018 Nils Philippsen +- rename patch, apply with backups + * Thu Jun 14 2018 Miro HronĨok - 1.2.8-2 - Rebuilt for Python 3.7