diff --git a/futurist-1.9.0.tar.gz b/futurist-1.9.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..264ad51de9c47d7da13118bddf6a9816b7f78a19 Binary files /dev/null and b/futurist-1.9.0.tar.gz differ diff --git a/futurist-2.3.0.tar.gz b/futurist-2.3.0.tar.gz deleted file mode 100644 index 1fe3cb9a201aa29083aaabb3681d15ef422602eb..0000000000000000000000000000000000000000 Binary files a/futurist-2.3.0.tar.gz and /dev/null differ diff --git a/python-futurist.spec b/python-futurist.spec index 6dbe0d85f1f95326cbd20b01e66da7709c16c792..2ea7dabc336c26fb475910bb62880cdf2bec8b4d 100644 --- a/python-futurist.spec +++ b/python-futurist.spec @@ -1,42 +1,49 @@ %global _empty_manifest_terminate_build 0 -Name: python-futurist -Version: 2.3.0 -Release: 2 -Summary: Useful additions to futures, from the future. -License: Apache Software License -URL: https://docs.openstack.org/futurist/latest/ -Source0: https://files.pythonhosted.org/packages/31/10/b10d828d056c66f89df8d6f408580108731b09ecfe3c00b92c5421003a9b/futurist-2.3.0.tar.gz -BuildArch: noarch - +Name: python-futurist +Version: 1.9.0 +Release: 1 +Summary: Useful additions to futures, from the future. +License: Apache-2.0 +URL: https://docs.openstack.org/futurist/latest/ +Source0: https://files.pythonhosted.org/packages/66/52/f23fb4e64c425d2953652f3345737f1ae7ca33c3bdbd60680a473b08697d/futurist-1.9.0.tar.gz +BuildArch: noarch %description Useful additions to futures, from the future. %package -n python3-futurist -Summary: Useful additions to futures, from the future. -Provides: python-futurist -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pbr -BuildRequires: python3-pip -Requires: python3-pbr -Requires: python3-six +Summary: Useful additions to futures, from the future. +Provides: python-futurist +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# General requires +BuildRequires: python3-six +BuildRequires: python3-prettytable +# General requires +Requires: python3-pbr +Requires: python3-six +Requires: python3-prettytable %description -n python3-futurist Useful additions to futures, from the future. %package help -Summary: Development documents and examples for futurist -Provides: python3-futurist-doc +Summary: Useful additions to futures, from the future. +Provides: python3-futurist-doc %description help -Useful additions to futures, from the future. (docs) +Useful additions to futures, from the future. %prep -%autosetup -n futurist-2.3.0 +%autosetup -n futurist-%{version} %build %py3_build %install %py3_install + install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -44,20 +51,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -70,7 +77,6 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon Aug 1 2021 huangtianhua - 2.3.0-2 -- Adds pbr/pip as buildrequires -* Sat Nov 21 2020 Python_Bot -- Package Spec generated +* Tue Nov 16 2021 OpenStack_SIG - 1.9.0-1 +- Init package python3-futurist of version 1.9.0 +