Accepting request 795784 from devel:languages:python

- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pendulum?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-04-21 11:09:38 +00:00 committed by Git OBS Bridge
commit 2209239698
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 10:58:48 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Tue Mar 24 13:18:31 UTC 2020 - pgajdos@suse.com

View File

@ -31,10 +31,10 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz >= 2018.3}
BuildRequires: %{python_module pytzdata >= 2018.3}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: fdupes
BuildRequires: python-dephell-rpm-macros
BuildRequires: python-rpm-macros
BuildRequires: python-typing
BuildRequires: python3-dephell
Requires: python-python-dateutil >= 2.6
Requires: python-pytz >= 2018.3
@ -47,7 +47,7 @@ Python datetimes made easy
%prep
%setup -q -n pendulum-%{version}
%{dephell_gensetup}
%dephell_gensetup
%build
export CFLAGS="%{optflags}"