diff --git a/python-xmlschema.spec b/python-xmlschema.spec index f7537e69b496445002f641a95cf183fc42e13e5e..ce57ebc9e24870911718ed1fed09aa508243fb55 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 @@ -55,10 +55,10 @@ 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 @@ -66,34 +66,30 @@ 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 -n python3-xmlschema +%license LICENSE +%doc README.rst +%{_bindir}/xmlschema-json2xml +%{_bindir}/xmlschema-validate +%{_bindir}/xmlschema-xml2json +%{python3_sitelib}/xmlschema +%{python3_sitelib}/xmlschema-*.dist-info/ %files help -f doclist.lst %{_docdir}/* %changelog +* Tue Jul 22 2025 Dongxing Wang - 4.1.0-1 +- Update package to version 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