From 792687b2c9b35aeeefd77255e697148a78d1499a Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Sep 10 2021 16:15:14 +0000 Subject: Remove unused Python 3.9 byte cache /usr/lib64/python3.10/site-packages/smoldyn/__pycache__/__init__.cpython-39.pyc /usr/lib64/python3.10/site-packages/smoldyn/__pycache__/smoldyn.cpython-39.pyc /usr/lib64/python3.10/site-packages/smoldyn/__pycache__/types.cpython-39.pyc /usr/lib64/python3.10/site-packages/smoldyn/__pycache__/utils.cpython-39.pyc --- diff --git a/smoldyn.spec b/smoldyn.spec index 4a40fed..8c4018d 100644 --- a/smoldyn.spec +++ b/smoldyn.spec @@ -9,7 +9,7 @@ Name: smoldyn Summary: A particle-based spatial stochastic simulator Version: 2.65 -Release: 4%{?dist} +Release: 5%{?dist} # The rxnparam.c and SurfaceParam.c source code files are in the public domain. # @@ -137,6 +137,10 @@ sed -e 's|../../../source/BioNetGen/BNG2.pl|%{perl_vendorlib}/BioNetGen/BNG2.pl| cp -p source/libSteve/SFMT/LICENSE.txt source/libSteve/SFMT/SFMT-LICENSE.txt cp -p source/libSteve/SFMT/README.txt source/libSteve/SFMT/SFMT-README.txt +# Remove Python byte cache from previous Python versions shipped in upstream tarball +find -name '*.pyc' -delete + + %build # Python binding needs shared libraries %cmake -Wno-dev -B build \ @@ -198,6 +202,9 @@ popd %doc docs/* %changelog +* Fri Sep 10 2021 Miro Hrončok - 2.65-5 +- Remove unused Python 3.9 byte cache + * Fri Jul 23 2021 Fedora Release Engineering - 2.65-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild