forked from pool/python-python-openid-cla
61 lines
1.7 KiB
RPMSpec
61 lines
1.7 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package python-python-openid-cla
|
||
|
#
|
||
|
# Copyright (c) 2018 Neal Gompa <ngompa13@gmail.com>.
|
||
|
#
|
||
|
# All modifications and additions to the file contributed by third parties
|
||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||
|
# upon. The license for this file, and modifications and additions to the
|
||
|
# file, is the same license as for the pristine package itself (unless the
|
||
|
# license for the pristine package is not an Open Source License, in which
|
||
|
# case the license is the MIT License). An "Open Source License" is a
|
||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||
|
# published by the Open Source Initiative.
|
||
|
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||
|
Name: python-python-openid-cla
|
||
|
Version: 1.2
|
||
|
Release: 0
|
||
|
Summary: CLA extension for python-openid
|
||
|
Group: Development/Libraries/Python
|
||
|
License: BSD-3-Clause
|
||
|
URL: https://github.com/puiterwijk/python-openid-cla
|
||
|
Source: https://github.com/puiterwijk/python-openid-cla/archive/v%{version}/python-openid-cla-%{version}.tar.gz
|
||
|
|
||
|
BuildArch: noarch
|
||
|
BuildRequires: %{python_module setuptools}
|
||
|
BuildRequires: python-rpm-macros
|
||
|
%if "%{python_flavor}" == "python2"
|
||
|
Requires: python2-python-openid
|
||
|
%endif
|
||
|
%if "%{python_flavor}" == "python3"
|
||
|
Requires: python3-python3-openid
|
||
|
%endif
|
||
|
%python_subpackages
|
||
|
|
||
|
%description
|
||
|
CLA extension implementation for python-openid.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n python-openid-cla-%{version}
|
||
|
|
||
|
%build
|
||
|
%python_build
|
||
|
|
||
|
|
||
|
%install
|
||
|
%python_install
|
||
|
|
||
|
|
||
|
%files %{python_files}
|
||
|
%license COPYING
|
||
|
%{python_sitelib}/*
|
||
|
|
||
|
|
||
|
%changelog
|