diff --git a/python-atomicwrites.changes b/python-atomicwrites.changes index 3fc2080..8b1e6e7 100644 --- a/python-atomicwrites.changes +++ b/python-atomicwrites.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 20 09:46:50 UTC 2025 - Daniel Garcia + +- Fix -doc package generation, we are adding the -doc to the suffix, + no need to have a subpackage here, multibuild does the trick. + ------------------------------------------------------------------- Thu Sep 25 10:40:31 UTC 2025 - Daniel Garcia diff --git a/python-atomicwrites.spec b/python-atomicwrites.spec index d0a674d..e31d15e 100644 --- a/python-atomicwrites.spec +++ b/python-atomicwrites.spec @@ -46,7 +46,6 @@ BuildArch: noarch BuildRequires: %{modern_python}-Sphinx BuildRequires: %{python_module atomicwrites} BuildRequires: %{python_module pytest} -Provides: %{python_module atomicwrites-doc = %{version}} %endif %python_subpackages @@ -63,24 +62,6 @@ Features that distinguish it from other similar libraries: %autosetup -p1 -n atomicwrites-%{version} rm -rf atomicwrites.egg-info -%if %{with doc} -%package -n %{name}-doc -Summary: Atomic file writes for Python (documentation) -Group: Documentation/HTML - -%description -n %{name}-doc -Atomic file writes for python3. -Features that distinguish it from other similar libraries: - -- Race-free assertion that the target file doesn't yet exist. This can be - controlled with the 'overwrite' parameter. - -- High-level API that wraps a very flexible class-based API. - -This package contains the documentation for both python2 and python3 versions -of python-atomicwrites -%endif - %build %if %{without doc} %pyproject_wheel @@ -102,20 +83,14 @@ popd %pytest %endif -%if %{without doc} %files %{python_files} %defattr(-,root,root,-) %doc README.rst %license LICENSE +%if %{without doc} %{python_sitelib}/atomicwrites %{python_sitelib}/atomicwrites-%{version}.dist-info - %else - -%files -n %{name}-doc -%defattr(-,root,root,-) -%doc README.rst -%license LICENSE %doc docs/_build/html %endif