From 40a965e027bee27fe880ed31ba1cd19e8436ccce Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 4 Feb 2023 10:18:23 -0500 Subject: [PATCH] Drop HTML documentation due to bundled/pre-minified JavaScript --- python-alembic.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-alembic.spec b/python-alembic.spec index 3c8f1c2..01ea6bf 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -49,6 +49,9 @@ Summary: %summary %prep %autosetup -p1 -n %{modname}-%{version} +# HTML documentation has bundled and pre-compiled/pre-minified JavaScript; see +# https://docs.fedoraproject.org/en-US/packaging-guidelines/JavaScript/. +rm -rvf docs/_static %build @@ -79,7 +82,7 @@ ln -s alembic-%{python3_version}.1 %{buildroot}%{_mandir}/man1/alembic.1 %files -n python3-%{modname} -%doc LICENSE README.rst CHANGES docs +%doc LICENSE README.rst CHANGES %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}-* %{_bindir}/%{modname} @@ -95,6 +98,7 @@ ln -s alembic-%{python3_version}.1 %{buildroot}%{_mandir}/man1/alembic.1 - Drop conditionals for EPEL8 (which has setuptools too old for this version anyway) - Drop obsolete spec file macros, and use appropriate newer ones +- Drop HTML documentation due to bundled/pre-minified JavaScript * Fri Jan 20 2023 Fedora Release Engineering - 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild