Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
21f3bb9578
!11 Upgrade to version 1.1.30
From: @chen-jan 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-06-14 09:13:03 +00:00
chen-jan
72e82603ee Upgrade to version 1.1.30 2023-06-14 17:02:20 +08:00
openeuler-ci-bot
bc8d34ede5 !8 python-configshell delete -Sgit from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-08-20 10:06:06 +00:00
chenyanpanHW
ddb8098fa3
delete -Sgit from %autosetup, and delete BuildRequires git 2021-08-02 10:07:49 +08:00
openeuler-ci-bot
524c70d42d !7 remove python2,don't support python2 anymore
From: @zhangtao2020
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 09:56:54 +08:00
zhangtao2020
212ed6be0c delete python2 2020-10-29 14:48:43 +08:00
openeuler-ci-bot
d12735a750 !2 Fix source0
Merge pull request !2 from alan/master
2020-09-09 11:45:30 +08:00
kkkl12
12ef1e1dd9 Fix source0 2020-09-09 10:37:47 +08:00
openeuler-ci-bot
c9899cfab5 !1 add yaml
Merge pull request !1 from cuibb1/master
2020-05-13 16:49:26 +08:00
root
c5bef62a78 yaml upload 2020-05-12 15:49:59 +08:00
4 changed files with 21 additions and 19 deletions

Binary file not shown.

View File

@ -3,63 +3,61 @@
Name: python-configshell
Summary: Python library that provides a framework for building simple but nice CLI-based applications.
Version: 1.1.27
Version: 1.1.30
Release: 1
License: ASL 2.0
URL: https://github.com/open-iscsi/configshell-fb
Source0: %{srcname}-%{version}.tar.gz
Source0: https://github.com/open-iscsi/configshell-fb/archive/v%{version}.tar.gz
BuildArch: noarch
%global _description\
%{name} is a Python library that provides a framework for building simple but nice CLI-based applications.\
This runs with Python 2 and 2to3 is run by setup.py to run on Python 3.\
This runs with Python 3 and python 3 is run by setup.py to run on Python 3.\
%description %_description
%package -n python2-configshell
Summary: %summary
BuildRequires: git python2-devel
Requires: python2-pyparsing python2-urwid python2-six
%description -n python2-configshell %_description
%package -n python3-configshell
Summary: %summary
BuildRequires: git python3-devel
BuildRequires: python3-devel
Requires: python3-pyparsing python3-urwid
%{?python_provide:%python_provide python3-configshell}
%description -n python3-configshell %_description
%prep
%autosetup -n %{srcname}-%{version} -p1 -Sgit
%autosetup -n configshell-fb-%{version} -p1
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
%py2_build
pushd %{py3dir}
%{__python3} setup.py build
popd
%install
rm -rf %{buildroot}
%py2_install
pushd %{py3dir}
%{__python3} setup.py install --skip-build --root %{buildroot}
popd
%files -n python2-configshell
%{python2_sitelib}/*
%license COPYING
%doc README.md
%files -n python3-configshell
%{python3_sitelib}/*
%license COPYING
%doc README.md
%changelog
* Wed Jun 14 2023 chenchen <chen_aka_jan@163.com> - 1.1.30-1
- Upgrade to version 1.1.30
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.1.27-4
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Oct 21 2020 zhangtao <zhangtao221@huawei.com> - 1.1.27-3
- delete python2
* Wed Sep 9 2020 liuweibo <liuweibo10@huawei.com> - 1.1.27-2
- Fix Source0
* Tue Nov 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.27-1
- Package init

4
python-configshell.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: open-iscsi/configshell-fb
tag_prefix: ^v
seperator: .

BIN
v1.1.30.tar.gz Normal file

Binary file not shown.