init package
This commit is contained in:
parent
fb3961b386
commit
63e5c4e496
BIN
constantly-15.1.0.tar.gz
Normal file
BIN
constantly-15.1.0.tar.gz
Normal file
Binary file not shown.
60
python-constantly.spec
Normal file
60
python-constantly.spec
Normal file
@ -0,0 +1,60 @@
|
||||
Name: python-constantly
|
||||
Version: 15.1.0
|
||||
Release: 4
|
||||
Summary: Symbolic constants in Python
|
||||
License: MIT
|
||||
URL: https://github.com/twisted/constantly
|
||||
Source0: https://files.pythonhosted.org/packages/source/c/constantly/constantly-15.1.0.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel python2dist(setuptools) python3-devel python3dist(setuptools)
|
||||
|
||||
%{?python_enable_dependency_generator}
|
||||
|
||||
%description
|
||||
A library that provides symbolic constant support. It includes
|
||||
collections and constants with text, numeric, and bit flag values.
|
||||
Originally twisted.python.constants from the Twisted project.
|
||||
|
||||
%package -n python2-constantly
|
||||
Summary: Symbolic constants in Python
|
||||
%{?python_provide:%python_provide python2-constantly}
|
||||
|
||||
%description -n python2-constantly
|
||||
A library that provides symbolic constant support. It includes
|
||||
collections and constants with text, numeric, and bit flag values.
|
||||
Originally twisted.python.constants from the Twisted project.
|
||||
|
||||
%package -n python3-constantly
|
||||
Summary: Symbolic constants in Python
|
||||
%{?python_provide:%python_provide python3-constantly}
|
||||
|
||||
%description -n python3-constantly
|
||||
A library that provides symbolic constant support. It includes
|
||||
collections and constants with text, numeric, and bit flag values.
|
||||
Originally twisted.python.constants from the Twisted project.
|
||||
|
||||
%prep
|
||||
%autosetup -n constantly-15.1.0
|
||||
rm -rf constantly.egg-info
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%files -n python2-constantly
|
||||
%doc README.rst LICENSE
|
||||
%{python2_sitelib}/constantly
|
||||
%{python2_sitelib}/constantly-15.1.0-py?.?.egg-info
|
||||
|
||||
%files -n python3-constantly
|
||||
%doc README.rst LICENSE
|
||||
%{python3_sitelib}/constantly
|
||||
%{python3_sitelib}/constantly-15.1.0-py?.?.egg-info
|
||||
|
||||
%changelog
|
||||
* Fri Feb 21 2020 liangdong <liangdong10@huawei.com> - 15.1.0-4
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user