!1 package init

Merge pull request !1 from gu-gu-gu/master
This commit is contained in:
openeuler-ci-bot 2020-02-21 14:56:59 +08:00 committed by Gitee
commit 09167f5fdb
2 changed files with 54 additions and 0 deletions

BIN
incremental-17.5.0.tar.gz Normal file

Binary file not shown.

54
python-incremental.spec Normal file
View File

@ -0,0 +1,54 @@
Name: python-incremental
Version: 17.5.0
Release: 5
Summary: A small library versions your Python projects
License: MIT
URL: https://github.com/twisted/incremental
Source0: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
%description
Incremental is a small library that versions your Python projects.
%package -n python2-incremental
Summary: A small library versions your Python projects
%python_provide python2-incremental
%description -n python2-incremental
Incremental is a small library that versions your Python projects.
%package -n python3-incremental
Summary: A small library versions your Python projects
%python_provide python3-incremental
%description -n python3-incremental
Incremental is a small library that versions your Python projects.
%prep
%autosetup -n incremental-%{version} -p1
rm -rf incremental.egg-info
%build
%py2_build
%py3_build
%install
%py3_install
%py2_install
%files -n python2-incremental
%doc LICENSE
%doc README.rst
%{python2_sitelib}/incremental
%{python2_sitelib}/incremental-%{version}-py?.?.egg-info
%files -n python3-incremental
%doc LICENSE
%doc README.rst
%{python3_sitelib}/incremental
%{python3_sitelib}/incremental-%{version}-py?.?.egg-info
%changelog
* Fri Feb 21 2020 gulining<gulining1@huawei.com> - 17.5.0-5
- Package init.