diff --git a/python-pytzdata.spec b/python-pytzdata.spec index b70f3be..e6d0416 100644 --- a/python-pytzdata.spec +++ b/python-pytzdata.spec @@ -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