diff --git a/elementpath-4.6.0.tar.gz b/elementpath-4.6.0.tar.gz deleted file mode 100644 index 4f20b459f3ecc0f59e3a81f04ab00adb8b7349c1..0000000000000000000000000000000000000000 Binary files a/elementpath-4.6.0.tar.gz and /dev/null differ diff --git a/elementpath-5.0.1.tar.gz b/elementpath-5.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..88ae4b016edba5701b1c1da6f7679e4f43ff7043 Binary files /dev/null and b/elementpath-5.0.1.tar.gz differ diff --git a/python-elementpath.spec b/python-elementpath.spec index dbb3c9f143a9c27f9175889f270c57eefb30c885..c724ad2243288a8e5555f7c31e1c2ba6788933b2 100644 --- a/python-elementpath.spec +++ b/python-elementpath.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-elementpath -Version: 4.6.0 +Version: 5.0.1 Release: 1 Summary: XPath 1.0/2.0 parsers and selectors for ElementTree and lxml License: MIT URL: https://github.com/sissaschool/elementpath -Source0: https://files.pythonhosted.org/packages/00/85/1c6b109252ae6d295c762f3c9f49409203cbb09ec5d34fb088f90d8dbed7/elementpath-4.6.0.tar.gz +Source0: https://files.pythonhosted.org/packages/ea/3d/0be6a0e373ac54bd53ab6c3b0722de9752dbd62e19d3d4d0f3f70ecbb246/elementpath-5.0.1.tar.gz BuildArch: noarch %description @@ -15,11 +15,11 @@ XPath 1.0/2.0 parsers and selectors for ElementTree and lxml Summary: XPath 1.0/2.0 parsers and selectors for ElementTree and lxml Provides: python-elementpath = %{version}-%{release} BuildRequires: python3-devel -BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-tox +BuildRequires: python3-hatchling python3-hatch-vcs python3-flit %description -n python3-elementpath XPath 1.0/2.0 parsers and selectors for ElementTree and lxml @@ -33,43 +33,25 @@ XPath 1.0/2.0 parsers and selectors for ElementTree and lxml %autosetup -n elementpath-%{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-elementpath -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + +%files -n python3-elementpath +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Fri Jun 13 2025 shichao - 5.0.1-1 +- update version to 5.0.1 + * Wed Oct 30 2024 wanggang - 4.6.0-1 - update version to 4.6.0