diff --git a/python-pypdf.changes b/python-pypdf.changes index ac9be29..42d6e92 100644 --- a/python-pypdf.changes +++ b/python-pypdf.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 13 05:35:16 UTC 2024 - Steve Kowalik + +- Add missing Requires on typing_extensions for Python 3.10. +- Correct fdupes macro call. +- Add an empty %check section to silence rpmlint. + ------------------------------------------------------------------- Fri Aug 30 19:52:14 UTC 2024 - Aline Werner diff --git a/python-pypdf.spec b/python-pypdf.spec index 447d298..bc5c99f 100644 --- a/python-pypdf.spec +++ b/python-pypdf.spec @@ -28,9 +28,12 @@ BuildRequires: %{python_module flit} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildArch: noarch +%if 0%{python_version_nodots} < 311 +Requires: python-typing_extensions +%endif Provides: python3-PyPDF2 = %version-%release Obsoletes: python3-PyPDF2 < %version-%release +BuildArch: noarch %python_subpackages @@ -57,14 +60,16 @@ It is therefore a useful tool for websites that manage or manipulate PDFs. %install %pyproject_install -%fdupes %{buildroot}%{python_sitelib}/pypdf +%python_expand %fdupes %{buildroot}%{$python_sitelib} # no checks possible as large pdf downloaded from the internet are necessary +%check +exit 0 %files %{python_files} %license LICENSE %doc CHANGELOG.md %{python_sitelib}/pypdf -%{python_sitelib}/pypdf-%{version}*-info +%{python_sitelib}/pypdf-%{version}.dist-info %changelog