Accepting request 782107 from Application:ERP:GNUHealth:3.6

python-2 enabled

OBS-URL: https://build.opensuse.org/request/show/782107
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytzdata?expand=0&rev=2
This commit is contained in:
Axel Braun 2020-03-06 12:29:21 +00:00 committed by Git OBS Bridge
parent 560d50f460
commit 669b0334ec

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pendulum
# spec file for package python-pytzdata
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
@ -19,13 +19,11 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define modname pytzdata
Name: python-%{modname}
Version: 2019.3
Release: 0
Summary: The Olson timezone database for Python
Summary: The pytzdata module for Python-pendulum
License: MIT
Group: Development/Languages/Python
URL: https://github.com/sdispater/pytzdata
@ -33,11 +31,8 @@ Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{mo
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: timezone
##Requires: python-pytz >= 2018.3
##Requires: python-python-dateutil >= 2.6
##Requires: python-typing
Requires: timezone
BuildRequires: timezone
Requires: timezone
%python_subpackages
%description
@ -47,7 +42,6 @@ The Olson timezone database for Python. This version is linked to the systemwide
%setup -q -n %{modname}-%{version}
%build
##export CFLAGS="%{optflags}"
%python_build
%install
@ -61,6 +55,6 @@ ln -s /usr/share/zoneinfo %{buildroot}%{$python_sitelib}/pytzdata/zoneinfo
%files %{python_files}
%doc README.rst
%license LICENSE
%{python3_sitelib}/*
%{python_sitelib}/*
%changelog