diff --git a/blinker-1.5.tar.gz b/blinker-1.5.tar.gz deleted file mode 100644 index 20c4134..0000000 Binary files a/blinker-1.5.tar.gz and /dev/null differ diff --git a/blinker-1.6.2.tar.gz b/blinker-1.6.2.tar.gz new file mode 100644 index 0000000..13e81ec Binary files /dev/null and b/blinker-1.6.2.tar.gz differ diff --git a/python-blinker.spec b/python-blinker.spec index 94ff513..a9d8769 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-blinker -Version: 1.5 +Version: 1.6.2 Release: 1 Summary: A powerful signal lib based on Python License: MIT URL: https://pythonhosted.org/blinker/ -Source0: https://files.pythonhosted.org/packages/2b/12/82786486cefb68685bb1c151730f510b0f4e5d621d77f245bc0daf9a6c64/blinker-1.5.tar.gz +Source0: %{pypi_source blinker} +BuildRequires: python3-pip python3-wheel BuildArch: noarch %description @@ -36,43 +37,26 @@ quite powerful features. %autosetup -n blinker-%{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-blinker -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-blinker +%{python3_sitelib}/* -%files help -f doclist.lst +%files help %{_docdir}/* %changelog +* Thu May 18 2023 wulei - 1.6.2-1 +- Update to 1.6.2 + * Fri Nov 18 2022 liqiuyu - 1.5-1 - Update package to version 1.5