diff --git a/python-webcolors.spec b/python-webcolors.spec index f653476702e8e4061dfc69f4f6c501e40eedeb26..4393b84b7b26d1ead7274c9c005e0338bb3d591d 100644 --- a/python-webcolors.spec +++ b/python-webcolors.spec @@ -1,6 +1,6 @@ %global _empty_manifest_terminate_build 0 Name: python-webcolors -Version: 24.8.0 +Version: 24.11.1 Release: 1 Summary: A library for working with color names and color values formats defined by HTML and CSS. License: BSD 3-Clause @@ -26,12 +26,12 @@ BuildRequires: python3-setuptools ``webcolors`` is a module for working with HTML/CSS color definitions. -%package help -Summary: Development documents and examples for webcolors +%package -n python3-webcolors-doc +Summary: Development documents and examples for python3-webcolors Provides: python3-webcolors-doc -%description help +%description -n python3-webcolors-doc -``webcolors`` is a module for working with HTML/CSS color definitions. +Development documents and examples for the python3-webcolors module. %prep @@ -41,21 +41,25 @@ Provides: python3-webcolors-doc %pyproject_build %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 +%pyproject_install +install -d -m755 %{buildroot}/%{_datadir}/doc/%{name}-%{version} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_datadir}/doc/%{name}-%{version}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_datadir}/doc/%{name}-%{version}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_datadir}/doc/%{name}-%{version}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_datadir}/doc/%{name}-%{version}; fi %files -n python3-webcolors %{python3_sitelib}/* -%files help -%{_docdir}/* +%files -n python3-webcolors-doc +%{_datadir}/doc/%{name}-%{version}/* %changelog +* Thu Apr 03 2025 openeuler_bot - 24.11.1-1 +- update python-webcolors to 24.11.1 + + * Wed Aug 28 2024 xu_ping <707078654@qq.com> - 24.8.0-1 - Update to 24.8.0 @@ -72,4 +76,4 @@ if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi - Update to 1.12 * Mon Nov 23 2020 Python_Bot -- Package Spec generated +- Package Spec generated \ No newline at end of file diff --git a/webcolors-24.11.1.tar.gz b/webcolors-24.11.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..a15ac2716fb972dd9968d688347a5300e01e6ed4 Binary files /dev/null and b/webcolors-24.11.1.tar.gz differ diff --git a/webcolors-24.8.0.tar.gz b/webcolors-24.8.0.tar.gz deleted file mode 100644 index 7258c214694f409b8b9c195860ea96037a77dbfb..0000000000000000000000000000000000000000 Binary files a/webcolors-24.8.0.tar.gz and /dev/null differ