diff --git a/python-sh.spec b/python-sh.spec index 473bbeefd8f2c1a5e0dc378373ddf505a6ce77eb..0fc658198a30a778a21ee72e8b7ac21a67b5d778 100644 --- a/python-sh.spec +++ b/python-sh.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-sh -Version: 2.0.5 +Version: 2.0.6 Release: 1 Summary: Python subprocess replacement License: MIT URL: https://github.com/amoffat/sh -Source0: https://files.pythonhosted.org/packages/37/86/ece11098f49068b8e77a46b83bce8e539b9416cfc03f2fab287f92d7230f/sh-2.0.5.tar.gz +Source0: https://files.pythonhosted.org/packages/cd/51/7355831d8e1cee8348157d769ccda8a31ca9fa0548e7f93d87837d83866d/sh-2.0.6.tar.gz BuildArch: noarch %description @@ -13,7 +13,7 @@ sh is a full-fledged subprocess replacement for Python2,Python3,PyPy and PyPy3 t %package -n python3-sh Summary: Python subprocess replacement -Provides: python-sh +Provides: python-sh = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip @@ -40,36 +40,17 @@ 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 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 -fi -if [ -d usr/lib64 ]; then - 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 -fi -if [ -d usr/sbin ]; then - 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 -fi -popd -mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . -%files -n python3-sh -f filelist.lst -%dir %{python3_sitelib}/* -%{python3_sitelib}/__pycache__/* +%files -n python3-sh +%{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog +* Mon Mar 18 2024 jiangxinyu - 2.0.6-1 +- Update package to version 2.0.6 + * Wed Aug 9 2023 zhangchenglin - 2.0.5-1 - upgrade version to 2.0.5 diff --git a/sh-2.0.5.tar.gz b/sh-2.0.5.tar.gz deleted file mode 100644 index 4093ab3ba1cd3c73bd9dfaf2b44210f628dfe1a2..0000000000000000000000000000000000000000 Binary files a/sh-2.0.5.tar.gz and /dev/null differ diff --git a/sh-2.0.6.tar.gz b/sh-2.0.6.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f8393eb933e0086b18fd80a8ce9634f3c7a02e99 Binary files /dev/null and b/sh-2.0.6.tar.gz differ