From f3f1ede8ea05bbff9d4117e140d5851fc99d73ba Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 14 Oct 2020 18:02:46 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/python-configshell#4286e9c25ed640e394d6199e6e4fd99494ec93eb --- .gitignore | 25 +++++ python-configshell.spec | 241 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + tests/provision.fmf | 5 + tests/tests.yml | 27 +++++ 5 files changed, 299 insertions(+) create mode 100644 python-configshell.spec create mode 100644 sources create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index e69de29..b52b958 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,25 @@ +/configshell-1.99.1.git987b63b.tar.gz +/1.1 +/v1.1.fb1 +/v1.1.fb2 +/v1.1.fb3 +/v1.1.fb4 +/configshell-fb-1.1.fb5.tar.gz +/configshell-fb-1.1.fb6.tar.gz +/configshell-fb-1.1.fb7.tar.gz +/configshell-fb-1.1.fb8.tar.gz +/configshell-fb-1.1.fb9.tar.gz +/configshell-fb-1.1.fb10.tar.gz +/configshell-fb-1.1.fb11.tar.gz +/configshell-fb-1.1.fb12.tar.gz +/configshell-fb-1.1.fb13.tar.gz +/configshell-fb-1.1.fb14.tar.gz +/configshell-fb-1.1.fb16.tar.gz +/configshell-fb-1.1.fb17.tar.gz +/configshell-fb-1.1.fb18.tar.gz +/configshell-fb-1.1.fb19.tar.gz +/configshell-fb-1.1.fb20.tar.gz +/configshell-fb-1.1.fb23.tar.gz +/configshell-fb-1.1.fb24.tar.gz +/configshell-fb-1.1.fb25.tar.gz +/configshell-fb-1.1.28.tar.gz diff --git a/python-configshell.spec b/python-configshell.spec new file mode 100644 index 0000000..c85033f --- /dev/null +++ b/python-configshell.spec @@ -0,0 +1,241 @@ +# Copyright 2011, Red Hat +%global oname configshell-fb + +Name: python-configshell +License: ASL 2.0 +Summary: A framework to implement simple but nice CLIs +Epoch: 1 +Version: 1.1.28 +Release: 2%{?dist} +URL: https://github.com/open-iscsi/configshell-fb +Source: %{url}/archive/v%{version}/%{oname}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel python3-setuptools + +%global _description\ +A framework to implement simple but nice configuration-oriented\ +command-line interfaces. + +%description %_description + +%package -n python3-configshell +Summary: A framework to implement simple but nice CLIs +Requires: python3-pyparsing python3-urwid +%{?python_provide:%python_provide python3-configshell} + +%description -n python3-configshell %_description + +%prep +%setup -q -n %{oname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-configshell +%{python3_sitelib}/configshell* +%doc COPYING README.md + +%changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1:1.1.28-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jun 18 2020 Matt Coleman - 1:1.1.28-1 +- New upstream version + +* Tue May 26 2020 Miro Hrončok - 1:1.1.fb25-9 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1:1.1.fb25-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1:1.1.fb25-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 1:1.1.fb25-6 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 1:1.1.fb25-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1:1.1.fb25-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Oct 11 2018 Miro Hrončok - 1:1.1.fb25-3 +- Python2 binary package has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Wed Oct 10 2018 Andy Grover - 1:1.1.fb25-2 +- Fix URL to point to open-iscsi org + +* Wed Oct 10 2018 Andy Grover - 1:1.1.fb25-1 +- New upstream release +- Update URL so spectool -g works + +* Fri Jul 13 2018 Fedora Release Engineering - 1:1.1.fb24-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1:1.1.fb24-4 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 1:1.1.fb24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 29 2018 Iryna Shcherbina - 1:1.1.fb24-2 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Jan 26 2018 Andy Grover - 1:1.1.fb24-1 +- New upstream release +- Remove patch configshell-fix-term.patch + +* Fri Dec 01 2017 Troy Dawson - 1:1.1.fb23-5 +- Update spec file conditionals + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1:1.1.fb23-4 +- Python 2 binary package renamed to python2-configshell + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 1:1.1.fb23-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue May 23 2017 Andy Grover - 1:1.1.fb23-2 +- Add patch configshell-fix-term.patch + +* Wed Mar 1 2017 Andy Grover - 1:1.1.fb23-1 +- New upstream release + +* Sat Feb 11 2017 Fedora Release Engineering - 1:1.1.fb20-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 1:1.1.fb20-3 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 1:1.1.fb20-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Apr 7 2016 Andy Grover - 1:1.1.fb20-1 +- New upstream release + +* Thu Feb 04 2016 Fedora Release Engineering - 1:1.1.fb19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 1 2015 Andy Grover - 1:1.1.fb19-1 +- New upstream release + +* Tue Nov 10 2015 Fedora Release Engineering - 1:1.1.fb18-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Tue Oct 27 2015 Andy Grover - 1:1.1.fb18-2 +- Rebuild + +* Tue Jun 23 2015 Andy Grover - 1:1.1.fb18-1 +- New upstream release +- Add dependency on python-six instead of 2to3 + +* Thu Jun 18 2015 Fedora Release Engineering - 1:1.1.fb17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Jan 13 2015 Andy Grover - 1:1.1.fb17-1 +- New upstream release + +* Tue Dec 2 2014 Andy Grover - 1:1.1.fb16-1 +- New upstream release + +* Fri Nov 14 2014 Andy Grover - 1:1.1.fb14-3 +- Add python 3 dependencies to Python 3 package + +* Thu Nov 13 2014 Andy Grover - 1:1.1.fb14-2 +- Add Python 3 subpackage + +* Thu Aug 28 2014 Andy Grover - 1:1.1.fb14-1 +- New upstream release + +* Sat Jun 07 2014 Fedora Release Engineering - 1:1.1.fb13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 25 2014 Andy Grover - 1:1.1.fb13-1 +- New upstream release + +* Fri Mar 14 2014 Andy Grover - 1:1.1.fb12-1 +- New upstream release + +* Mon Jan 6 2014 Andy Grover - 1:1.1.fb11-1 +- New upstream release + +* Fri Nov 1 2013 Andy Grover - 1:1.1.fb10-1 +- New upstream release + +* Thu Sep 12 2013 Andy Grover - 1:1.1.fb9-1 +- New upstream release +- Remove dependency on python-simpleparse in favor of pyparsing +- Remove BuildRequires + +* Sun Aug 04 2013 Fedora Release Engineering - 1:1.1.fb8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 23 2013 Andy Grover - 1:1.1.fb8-1 +- New upstream release +- License now Apache 2.0 +- README.md instead of README + +* Tue Feb 26 2013 Andy Grover - 1:1.1.fb7-1 +- New upstream release + +* Thu Feb 14 2013 Fedora Release Engineering - 1:1.1.fb6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 4 2013 Andy Grover - 1:1.1.fb6-1 +- New upstream release +- Update source URL + +* Tue Jul 31 2012 Andy Grover - 1:1.1.fb5-1 +- New upstream release +- Update Source URL to proper tarball + +* Sat Jul 21 2012 Fedora Release Engineering - 1:1.1.fb4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jan 10 2012 Andy Grover - 1:1.1.fb4-1 +- New upstream release + +* Wed Dec 14 2011 Andy Grover - 1:1.1.fb3-1 +- New upstream release + +* Tue Dec 13 2011 Andy Grover - 1:1.1.fb2-1 +- New upstream release + +* Tue Dec 6 2011 Andy Grover - 1:1.1.fb1-1 +- New upstream source and release +- Remove patches: + * python-configshell-remove-epydoc-dep.patch + * python-configshell-git-version.patch + +* Mon Nov 21 2011 Andy Grover - 1:1.1-2 +- Properly update changelog +- Sync version with upstream, Epoch used +- Change Source URL to intermediate github repo + +* Fri Sep 23 2011 Andy Grover - 1.99.1.git987b63b-5 +* Rebuild + +* Thu Aug 25 2011 Andy Grover - 1.99.1.git987b63b-4 +- Add patch + - python-configshell-remove-epydoc-dep.patch + +* Wed Aug 17 2011 Andy Grover - 1.99.1.git987b63b-3 +- Address comments from spec review + - drop examples/myshell from doc, it hasn't been updated for API change + - Fully document procedure to generate source .tar.gz + - Remove "." from summary + - Remove commented-out spec todos and other cruft + +* Mon Aug 1 2011 Andy Grover - 1.99.1.git987b63b-2 +- Update to latest git version +- Add urwid builddep + +* Tue May 10 2011 Andy Grover - 1.99.1.git987b63b-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..cc94e6b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (configshell-fb-1.1.28.tar.gz) = 4cdc3ee72fc7c4bffcf2f508eef16cc8578d1358ceeb70050a619f5e93e0e189de7216ac0baa77af98fb1b7569940a22a0e3cd977cd460bb91252b4ab176d0f4 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..e660f07 --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- + +standard-inventory-qcow2: + qemu: + m: 2G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..f844ced --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,27 @@ +--- +# Tests suitable to run in classic environment +- hosts: localhost + roles: + - role: standard-test-basic + # python-stqe cannot be installed on 'atomic', no need to run on 'container' + tags: + - classic + repositories: + - repo: "https://gitlab.com/rh-kernel-stqe/python-stqe.git" + dest: "python-stqe" + version: stable + tests: + # Install python-stqe first + # make sure we use same version of libsan + - install_stqe: + dir: python-stqe + run: pip3 install libsan==0.3.0 && python3 setup.py install --prefix= + - iscsi-initiator-utils: + dir: ./ + run: stqe-test run --fmf -f tags:targetcli_basic + required_packages: + # required for python-stqe + - python3-pyyaml + - python3-netifaces + - python3-augeas + - python3-pip