From b58a30632340db1e746991cb3b5b5e98000328fc Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 1 Jan 2024 10:42:42 -0500 Subject: [PATCH] =?UTF-8?q?Assert=20a=20license=20file=20is=20automaticall?= =?UTF-8?q?y=20handled;=20don=E2=80=99t=20package=20a=20duplicate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python-numpydoc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-numpydoc.spec b/python-numpydoc.spec index 6432ac4..57576d8 100644 --- a/python-numpydoc.spec +++ b/python-numpydoc.spec @@ -44,7 +44,7 @@ sed -i '\,#!/usr/bin/env python,d' numpydoc/validate.py %install %pyproject_install -%pyproject_save_files numpydoc +%pyproject_save_files -l numpydoc %check # Deselected tests need to download an inventory from docs.python.org @@ -52,7 +52,6 @@ sed -i '\,#!/usr/bin/env python,d' numpydoc/validate.py %files -n python3-numpydoc -f %pyproject_files -%license LICENSE.txt %doc README.rst %{_bindir}/validate-docstrings @@ -62,6 +61,7 @@ sed -i '\,#!/usr/bin/env python,d' numpydoc/validate.py - Don’t number the sole Source - Drop the unnecessary explicit BR on pyproject-rpm-macros - Use the upstream description text (and don’t write it twice) +- Assert a license file is automatically handled; don’t package a duplicate * Thu Oct 19 2023 Jerry James - 1.6.0-1 - Version 1.6.0