diff --git a/pdfminer.six-20250324.tar.gz b/pdfminer_six-20250506.tar.gz similarity index 51% rename from pdfminer.six-20250324.tar.gz rename to pdfminer_six-20250506.tar.gz index 667a902617fb577d6cf2ce07ce8c4a9df234f50e..f3fc70c1dbb465fb82de4f2e9cecae296383b5dc 100644 Binary files a/pdfminer.six-20250324.tar.gz and b/pdfminer_six-20250506.tar.gz differ diff --git a/python-pdfminer.six.spec b/python-pdfminer.six.spec index 121ea0bae7fe9a6af2715626a13d9848de896c7f..533517031a18add48d587ae8a90cd796ab3470df 100644 --- a/python-pdfminer.six.spec +++ b/python-pdfminer.six.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-pdfminer.six -Version: 20250324 +Version: 20250506 Release: 1 Summary: PDF parser and analyzer. License: MIT URL: https://github.com/pdfminer/pdfminer.six -Source0: https://files.pythonhosted.org/packages/ed/b7/6a631f02f3fa80b2b618156ca315792c27d2d45f62bc573e6da0e224dc63/pdfminer.six-20250324.tar.gz +Source0: https://files.pythonhosted.org/packages/78/46/5223d613ac4963e1f7c07b2660fe0e9e770102ec6bda8c038400113fb215/pdfminer_six-20250506.tar.gz BuildArch: noarch %description PDF parser and analyzer. @@ -30,48 +30,25 @@ Provides: python3-pdfminer.six-doc Development documents and examples for pdfminer.six. %prep -%autosetup -n pdfminer.six-%{version} +%autosetup -n pdfminer_six-%{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-pdfminer.six -%files -n python3-pdfminer.six -f filelist.lst - -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Sep 29 2025 maqi - 20250506-1 +- Update package to version 20250506 + * Wed Aug 13 2025 lvfei - 20250324-1 - Update package to version 20250324 - Using absolute instead of relative imports