diff --git a/python-webcolors.spec b/python-webcolors.spec index a1482ca021e1bbca2eb7ac5a8da2d05e87fe4886..1aa9145f0fe17b82519155e7790b9f002631c95d 100644 --- a/python-webcolors.spec +++ b/python-webcolors.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-webcolors -Version: 1.12 +Version: 1.13 Release: 1 Summary: A library for working with color names and color values formats defined by HTML and CSS. License: BSD 3-Clause URL: https://github.com/ubernostrum/webcolors -Source0: https://files.pythonhosted.org/packages/5f/f5/004dabd8f86abe0e770df4bcde8baf658709d3ebdd4d8fa835f6680012bb/webcolors-1.12.tar.gz +Source0: https://files.pythonhosted.org/packages/a1/fb/f95560c6a5d4469d9c49e24cf1b5d4d21ffab5608251c6020a965fb7791c/webcolors-1.13.tar.gz +BuildRequires: python3-pip python3-wheel BuildArch: noarch @@ -39,43 +40,27 @@ Provides: python3-webcolors-doc %autosetup -n webcolors-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install webcolors==%{version} 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-webcolors -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + + +%files -n python3-webcolors +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Fri Apr 28 2023 wulei - 1.13-1 +- Update to 1.13 + * Wed Sep 14 2022 Qiao Jijun - 1.12-1 - Update to 1.12 diff --git a/webcolors-1.12.tar.gz b/webcolors-1.12.tar.gz deleted file mode 100644 index 5435d3180494cefdf6495c6170ec0051ceddfa5d..0000000000000000000000000000000000000000 Binary files a/webcolors-1.12.tar.gz and /dev/null differ diff --git a/webcolors-1.13.tar.gz b/webcolors-1.13.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..054fa0ac34528c48b86541560967c956e100054b Binary files /dev/null and b/webcolors-1.13.tar.gz differ