From 13ad7015b096e1f420092e1dde107a2da2ba5bf1 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Thu, 25 Dec 2025 22:33:27 -0600 Subject: [PATCH] fix: cleanup some python packages (#8631) Signed-off-by: Owen-sz --- anda/langs/python/pyvcd/pyvcd.spec | 6 +----- anda/langs/python/txtorcon/txtorcon.spec | 2 -- anda/langs/python/west/west.spec | 5 +---- anda/langs/python/yamale/yamale.spec | 4 +--- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/anda/langs/python/pyvcd/pyvcd.spec b/anda/langs/python/pyvcd/pyvcd.spec index ddde4591e0..7d2cdc864d 100644 --- a/anda/langs/python/pyvcd/pyvcd.spec +++ b/anda/langs/python/pyvcd/pyvcd.spec @@ -3,15 +3,13 @@ Name: python-%{pypi_name} Version: 0.4.0 -Release: 2%?dist +Release: 3%?dist Summary: Python package for writing Value Change Dump (VCD) files License: MIT URL: https://github.com/SanDisk-Open-Source/pyvcd Source0: %url/releases/download/%version/pyvcd-%{version}.tar.gz BuildArch: noarch -BuildRequires: python3 -BuildRequires: python3.10 BuildRequires: python3-build BuildRequires: python3-installer BuildRequires: python3-wheel @@ -48,8 +46,6 @@ Provides: pyvcd %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst CODE_OF_CONDUCT.md CHANGELOG.rst %license LICENSE.txt -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc %python3_sitelib/pyvcd-%version.dist-info/* %changelog diff --git a/anda/langs/python/txtorcon/txtorcon.spec b/anda/langs/python/txtorcon/txtorcon.spec index 0ed1b15ee9..745fd70d95 100644 --- a/anda/langs/python/txtorcon/txtorcon.spec +++ b/anda/langs/python/txtorcon/txtorcon.spec @@ -46,8 +46,6 @@ Provides: txtorcon %python3_sitelib/txtorcon-%version.dist-info/* %python3_sitelib/twisted/plugins/*.py %{_datadir}/txtorcon/* -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc %changelog * Mon Nov 03 2025 Owen Zimmerman diff --git a/anda/langs/python/west/west.spec b/anda/langs/python/west/west.spec index 1d3748b9b6..f7d40f232c 100644 --- a/anda/langs/python/west/west.spec +++ b/anda/langs/python/west/west.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 1.5.0 -Release: 1%?dist +Release: 2%?dist Summary: West, Zephyr's meta-tool License: Apache-2.0 URL: https://github.com/zephyrproject-rtos/west @@ -46,9 +46,6 @@ Provides: west %doc README.rst MAINTAINERS.rst %license LICENSE %{_bindir}/west -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc -%python3_sitelib/west-%version.dist-info/* %changelog * Fri Oct 10 2025 Owen Zimmerman diff --git a/anda/langs/python/yamale/yamale.spec b/anda/langs/python/yamale/yamale.spec index d6e41745ef..bc70a64261 100644 --- a/anda/langs/python/yamale/yamale.spec +++ b/anda/langs/python/yamale/yamale.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 6.1.0 -Release: 1%?dist +Release: 2%?dist Summary: A schema and validator for YAML License: MIT URL: https://github.com/23andMe/Yamale @@ -42,8 +42,6 @@ Provides: yamale %doc README.md SECURITY.md %license LICENSE %{_bindir}/yamale -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc %python3_sitelib/yamale-%version.dist-info/* %changelog