diff --git a/python-xmlschema.spec b/python-xmlschema.spec index f7537e69b496445002f641a95cf183fc42e13e5e..fdb4ef7c8eebe888bb79b274e5320fce697b27c6 100644 --- a/python-xmlschema.spec +++ b/python-xmlschema.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-xmlschema -Version: 3.4.3 +Version: 4.1.0 Release: 1 Summary: An XML Schema validator and decoder License: MIT URL: https://github.com/sissaschool/xmlschema -Source0: https://files.pythonhosted.org/packages/11/ca/56579e6b4558c3c06902fe6647280345da8087f080c86e85166fd2131f8d/xmlschema-3.4.3.tar.gz +Source0: https://files.pythonhosted.org/packages/dd/cb/dc0236ae209c924c1a7f4d3ae9d3371980beda85d1e0b5bd2d4f07372e48/xmlschema-4.1.0.tar.gz BuildArch: noarch %description An XML Schema validator and decoder @@ -15,10 +15,10 @@ Summary: An XML Schema validator and decoder Provides: python-xmlschema # Base build requires BuildRequires: python3-devel -BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +BuildRequires: python3-hatchling python3-hatch-vcs python3-flit # General requires BuildRequires: python3-elementpath BuildRequires: python3-jinja2 @@ -55,45 +55,27 @@ An XML Schema validator and decoder %autosetup -n xmlschema-%{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-xmlschema -f filelist.lst -%dir %{python3_sitelib}/* - -%files help -f doclist.lst + + +%files -n python3-xmlschema +%{python3_sitelib}/* + +%files help %{_docdir}/* %changelog +* Fri Jun 13 2025 shichao - 4.1.0-1 +- Update version to 4.1.0 + * Fri Nov 01 2024 xiaozai - 3.4.3-1 - Update version to 3.4.3 diff --git a/xmlschema-3.4.3.tar.gz b/xmlschema-3.4.3.tar.gz deleted file mode 100644 index c53230a1201df06d6a69d2caf4126e900e10a0db..0000000000000000000000000000000000000000 Binary files a/xmlschema-3.4.3.tar.gz and /dev/null differ diff --git a/xmlschema-4.1.0.tar.gz b/xmlschema-4.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..cc8889ad121c3338a787509397527838a3dd1702 Binary files /dev/null and b/xmlschema-4.1.0.tar.gz differ