[vegastrike-data] *.pyc and *.pyo files aren't being created in koji.

Bruno Wolff III bruno at fedoraproject.org
Sat Jul 9 19:18:10 UTC 2011


commit 031b132e75241b8aff701eecad01f2d8961d41b5
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jul 9 14:16:56 2011 -0500

    *.pyc and *.pyo files aren't being created in koji.
    
    While this was happening for local builds, it wasn't for koji.
    Since this looks like it might get turned on later, I left most
    of the code, but didn't use the lists for now.

 vegastrike-data.spec |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/vegastrike-data.spec b/vegastrike-data.spec
index 30e3825..1527b88 100644
--- a/vegastrike-data.spec
+++ b/vegastrike-data.spec
@@ -61,6 +61,9 @@ find .vegastrike ai animations bases cockpits communications \
 
 # pyc and pyo files are going to be built automatically after the
 # install step and we need to list those files.
+# Apparently that is only happening locally, not in koji. So I
+# am going to keep this code around, but not use the lists
+# right now. Presumably this will get turned on at some point.
 
 grep '\.py"$' data.files | sed -e 's;\.py"$;.pyc";' > data.pyc
 grep '\.py"$' data.files | sed -e 's;\.py"$;.pyo";' > data.pyo
@@ -105,10 +108,12 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
 fi
 
 
-%files -n vegastrike-extra -f extra.files -f extra.pyc -f extra.pyo
+#%files -n vegastrike-extra -f extra.files -f extra.pyc -f extra.pyo
+%files -n vegastrike-extra -f extra.files
 %defattr(-,root,root,-)
 
-%files -f data.files -f data.dirs -f data.pyc -f data.pyo
+#%files -f data.files -f data.dirs -f data.pyc -f data.pyo
+%files -f data.files -f data.dirs
 %defattr(-,root,root,-)
 %{_datadir}/vegastrike/documentation
 %doc vega-license.txt documentation/*
@@ -116,10 +121,9 @@ fi
 
 
 %changelog
-* Tue Jun 28 2011 Bruno Wolff III <bruno at wolff.to> 0.5.1-0.1.beta.2
+* Tue Jul 09 2011 Bruno Wolff III <bruno at wolff.to> 0.5.1-0.1.beta.2
 - Update to upstream 0.5.1beta1-2
 - Add optional vegastrike-extra subpackage for extra textures.
-- pyc and pyo files now get built.
 
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list