diff --git a/audioread-3.0.0.tar.gz b/audioread-3.0.0.tar.gz deleted file mode 100644 index 1b1c35a2dd08598b66bbc373c139afed2cbd35e4..0000000000000000000000000000000000000000 Binary files a/audioread-3.0.0.tar.gz and /dev/null differ diff --git a/audioread-3.0.1.tar.gz b/audioread-3.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ed9878beff5fa6313b687e541c4490dcf15b7cef Binary files /dev/null and b/audioread-3.0.1.tar.gz differ diff --git a/python-audioread.spec b/python-audioread.spec index c0bc2a1c5b84921ac863e757c7bf8f8e5a204e65..9be85b83aee3c0ea46a99d7cb8bb741625beccbd 100644 --- a/python-audioread.spec +++ b/python-audioread.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-audioread -Version: 3.0.0 +Version: 3.0.1 Release: 1 Summary: multi-library, cross-platform audio decoding License: MIT URL: https://github.com/sampsyo/audioread -Source0: https://files.pythonhosted.org/packages/5d/cb/82a002441902dccbe427406785db07af10182245ee639ea9f4d92907c923/audioread-3.0.0.tar.gz +Source0: https://files.pythonhosted.org/packages/db/d2/87016ca9f083acadffb2d8da59bfa3253e4da7eeb9f71fb8e7708dc97ecd/audioread-3.0.1.tar.gz BuildArch: noarch @@ -23,7 +23,9 @@ currently supports: Summary: multi-library, cross-platform audio decoding Provides: python-audioread = %{version}-%{release} BuildRequires: python3-devel -BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-flit %description -n python3-audioread Decode audio files using whichever backend is available. The library @@ -53,43 +55,25 @@ currently supports: %autosetup -n audioread-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_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 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-audioread -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + +%files -n python3-audioread +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Tue Nov 14 2023 jiangxinyu - 3.0.1-1 +- Update package to version 3.0.1 + * Mon Nov 14 2022 wangjunqi - 3.0.0-1 - Update package to version 3.0.0