Compare commits
No commits in common. "21f3bb957868f47eb0d8f8a99a52dc73d441ba45" and "096d04037b32e38aa17f6d7f6b9c7f5499ee562b" have entirely different histories.
21f3bb9578
...
096d04037b
BIN
configshell-fb-1.1.27.tar.gz
Normal file
BIN
configshell-fb-1.1.27.tar.gz
Normal file
Binary file not shown.
@ -3,61 +3,63 @@
|
|||||||
|
|
||||||
Name: python-configshell
|
Name: python-configshell
|
||||||
Summary: Python library that provides a framework for building simple but nice CLI-based applications.
|
Summary: Python library that provides a framework for building simple but nice CLI-based applications.
|
||||||
Version: 1.1.30
|
Version: 1.1.27
|
||||||
Release: 1
|
Release: 1
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/open-iscsi/configshell-fb
|
URL: https://github.com/open-iscsi/configshell-fb
|
||||||
Source0: https://github.com/open-iscsi/configshell-fb/archive/v%{version}.tar.gz
|
Source0: %{srcname}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
%{name} is a Python library that provides a framework for building simple but nice CLI-based applications.\
|
%{name} is a Python library that provides a framework for building simple but nice CLI-based applications.\
|
||||||
This runs with Python 3 and python 3 is run by setup.py to run on Python 3.\
|
This runs with Python 2 and 2to3 is run by setup.py to run on Python 3.\
|
||||||
|
|
||||||
%description %_description
|
%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
|
%package -n python3-configshell
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
BuildRequires: python3-devel
|
BuildRequires: git python3-devel
|
||||||
Requires: python3-pyparsing python3-urwid
|
Requires: python3-pyparsing python3-urwid
|
||||||
%{?python_provide:%python_provide python3-configshell}
|
%{?python_provide:%python_provide python3-configshell}
|
||||||
|
|
||||||
%description -n python3-configshell %_description
|
%description -n python3-configshell %_description
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n configshell-fb-%{version} -p1
|
%autosetup -n %{srcname}-%{version} -p1 -Sgit
|
||||||
|
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%py2_build
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py build
|
%{__python3} setup.py build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
%py2_install
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py install --skip-build --root %{buildroot}
|
%{__python3} setup.py install --skip-build --root %{buildroot}
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%files -n python2-configshell
|
||||||
|
%{python2_sitelib}/*
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
%files -n python3-configshell
|
%files -n python3-configshell
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.27-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: open-iscsi/configshell-fb
|
|
||||||
tag_prefix: ^v
|
|
||||||
seperator: .
|
|
||||||
BIN
v1.1.30.tar.gz
BIN
v1.1.30.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user