From 28bc94a510223609c0e876d2dd1ec6b149d895c5 Mon Sep 17 00:00:00 2001 From: Jonny Heggheim Date: Fri, 2 Apr 2021 19:35:24 +0200 Subject: [PATCH] Removed include the top-level __pycache__ directory. Instead the %pycached macro is used. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_byte_compiling --- python-typing-extensions.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec index 25f4f14..9a1723f 100644 --- a/python-typing-extensions.spec +++ b/python-typing-extensions.spec @@ -76,8 +76,7 @@ must be compatible with multiple Python versions or requires experimental types. %license LICENSE %doc README.rst %{python3_sitelib}/%{srcname}-*.egg-info/ -%{python3_sitelib}/%{srcname}.py -%{python3_sitelib}/__pycache__/* +%pycached %{python3_sitelib}/%{srcname}.py %changelog * Wed Jan 27 2021 Fedora Release Engineering - 3.7.4.3-2