- 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:
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
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytz
|
||||
Version: 2017.2
|
||||
@ -39,8 +40,10 @@ BuildRequires: unzip
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: timezone
|
||||
Requires: timezone
|
||||
Provides: python-tz = 2014b
|
||||
Obsoletes: python-tz < 2014b
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-tz = %{version}
|
||||
Obsoletes: %{oldpython}-tz < %{version}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user