forked from pool/python-python-gflags
Accepting request 491278 from home:alarrosa:branches:devel:languages:python
- Provide python-gflags in the python2 package OBS-URL: https://build.opensuse.org/request/show/491278 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gflags?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 16:20:48 UTC 2017 - alarrosa@suse.com
|
||||
|
||||
- Provide python-gflags in the python2 package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 21:48:26 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-gflags
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-gflags
|
||||
Version: 3.1.1
|
||||
@@ -26,12 +27,16 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-gflags/python-gflags-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Provides: python-gflags = %{version}
|
||||
Obsoletes: python-gflags < %{version}
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-gflags = %{version}
|
||||
Obsoletes: %{oldpython}-gflags < %{version}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
|
Reference in New Issue
Block a user