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:
parent
560d50f460
commit
669b0334ec
@ -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
|
# Copyright (c) 2020 Dr. Axel Braun
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -19,13 +19,11 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
%define skip_python2 1
|
|
||||||
|
|
||||||
%define modname pytzdata
|
%define modname pytzdata
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 2019.3
|
Version: 2019.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Olson timezone database for Python
|
Summary: The pytzdata module for Python-pendulum
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/sdispater/pytzdata
|
URL: https://github.com/sdispater/pytzdata
|
||||||
@ -34,9 +32,6 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: timezone
|
BuildRequires: timezone
|
||||||
##Requires: python-pytz >= 2018.3
|
|
||||||
##Requires: python-python-dateutil >= 2.6
|
|
||||||
##Requires: python-typing
|
|
||||||
Requires: timezone
|
Requires: timezone
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -47,7 +42,6 @@ The Olson timezone database for Python. This version is linked to the systemwide
|
|||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
##export CFLAGS="%{optflags}"
|
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -61,6 +55,6 @@ ln -s /usr/share/zoneinfo %{buildroot}%{$python_sitelib}/pytzdata/zoneinfo
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user