forked from pool/python-pytz
- create correct backwards-compatible Obsoletes/Provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=60
This commit is contained in:
committed by
Git OBS Bridge
parent
540cd994f0
commit
6665bed40d
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 5 15:17:50 UTC 2017 - jmatejek@suse.com
|
||||||
|
|
||||||
|
- create correct backwards-compatible Obsoletes/Provides
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 3 08:59:23 UTC 2017 - astieger@suse.com
|
Mon Apr 3 08:59:23 UTC 2017 - astieger@suse.com
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define oldpython python
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytz
|
Name: python-pytz
|
||||||
Version: 2017.2
|
Version: 2017.2
|
||||||
@@ -39,8 +40,10 @@ BuildRequires: unzip
|
|||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: timezone
|
BuildRequires: timezone
|
||||||
Requires: timezone
|
Requires: timezone
|
||||||
Provides: python-tz = 2014b
|
%ifpython2
|
||||||
Obsoletes: python-tz < 2014b
|
Provides: %{oldpython}-tz = %{version}
|
||||||
|
Obsoletes: %{oldpython}-tz < %{version}
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user