diff --git a/gearbox-0.2.1.tar.gz b/gearbox-0.2.1.tar.gz deleted file mode 100755 index e9c74fa064566c3b4f6c656e26b79062eb08189b..0000000000000000000000000000000000000000 Binary files a/gearbox-0.2.1.tar.gz and /dev/null differ diff --git a/gearbox-0.2.2.tar.gz b/gearbox-0.2.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b76cc34bee70249e7d268076c389fd77f5be66ff Binary files /dev/null and b/gearbox-0.2.2.tar.gz differ diff --git a/python-gearbox.spec b/python-gearbox.spec index 405bc39fe5a2b493e9a378d42bc4c9d4307099ac..80bce6e9e2bcf2b2c8f3c94b128e825b2915d23d 100644 --- a/python-gearbox.spec +++ b/python-gearbox.spec @@ -1,14 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-gearbox -Version: 0.2.1 +Version: 0.2.2 Release: 1 Summary: Command line toolkit born as a PasteScript replacement for the TurboGears2 web framework License: MIT URL: https://github.com/TurboGears/gearbox -Source0: https://files.pythonhosted.org/packages/78/50/c7d5cb6f97ba0f47ea15e718fc48ac7a1417427fdc2f48313265b03acdfe/gearbox-0.2.1.tar.gz +Source0: https://files.pythonhosted.org/packages/2c/86/f2057dfa195939d942aacfd910c4b5fed353dfa08600998debf2ce5c4a1a/gearbox-0.2.2.tar.gz BuildArch: noarch - %description Gearbox is a paster command replacement for TurboGears2. It has been created during the process of providing Python3 support to the TurboGears2 web framework, @@ -19,19 +18,30 @@ and custom command interpreters. %package -n python3-gearbox Summary: Command line toolkit born as a PasteScript replacement for the TurboGears2 web framework -Provides: python-gearbox +Provides: python-gearbox = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-gearbox Gearbox is a paster command replacement for TurboGears2. +It has been created during the process of providing Python3 support to the TurboGears2 web framework, +while still being backward compatible with the existing TurboGears projects. +Gearbox is based on a stripped down version of *Cliff* command line framework, you might want +to consider `http://docs.openstack.org/developer/cliff` for more advanced use cases +and custom command interpreters. %package help Summary: Development documents and examples for gearbox Provides: python3-gearbox-doc %description help +Gearbox is a paster command replacement for TurboGears2. +It has been created during the process of providing Python3 support to the TurboGears2 web framework, +while still being backward compatible with the existing TurboGears projects. +Gearbox is based on a stripped down version of *Cliff* command line framework, you might want +to consider `http://docs.openstack.org/developer/cliff` for more advanced use cases +and custom command interpreters. %prep -%autosetup -n gearbox-0.2.1 +%autosetup -n gearbox-%{version} %build %py3_build @@ -43,6 +53,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi +if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst @@ -71,5 +84,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Jan 31 2023 wangjunqi - 0.2.2-1 +- Update package to version 0.2.2 + * Mon Jul 18 2022 Python_Bot - 0.2.1-1 - Package Spec generated