15
0

Accepting request 1084355 from home:dirkmueller:acdc:as_python3_module

- Switch documentation to be within the main package.

OBS-URL: https://build.opensuse.org/request/show/1084355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beautifulsoup4?expand=0&rev=85
This commit is contained in:
2023-05-03 14:41:19 +00:00
committed by Git OBS Bridge
parent dc7b9438a9
commit 726459be9d
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 23 23:26:12 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch documentation to be within the main package.
-------------------------------------------------------------------
Fri Apr 21 12:22:35 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-beautifulsoup4
Version: 4.10.0
@@ -64,6 +63,7 @@ Valuable data that was once locked up in poorly-designed websites is now within
your reach. Projects that would have taken hours take only minutes with
Beautiful Soup.
%if 0%{?suse_version} > 1500
%package -n python-beautifulsoup4-doc
Summary: Documentation for %{name}
Recommends: %{name} = %{version}
@@ -72,6 +72,7 @@ Obsoletes: python3-beautifulsoup4-doc
%description -n python-beautifulsoup4-doc
Documentation and help files for %{name}
%endif
%prep
%setup -q -n beautifulsoup4-%{version}
@@ -94,7 +95,9 @@ export PYTHONDONTWRITEBYTECODE=1
%{python_sitelib}/bs4/
%{python_sitelib}/beautifulsoup4-%{version}-py*.egg-info
%if 0%{?suse_version} > 1500
%files -n python-beautifulsoup4-doc
%endif
%doc NEWS.txt README.md TODO.txt doc/build/html
%changelog