[vegastrike-data] pyc and pyo files not get created in koji

Bruno Wolff III bruno at fedoraproject.org
Sat Apr 7 16:31:29 UTC 2012


commit a8e904ef1762c1e8b9359166feebb7b965fb8fc4
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Apr 7 11:26:59 2012 -0500

    pyc and pyo files not get created in koji
    
    Previously there was an exception for these files because they
    weren't getting built using koji but were locally and I never
    figured out why.

 vegastrike-data.spec |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/vegastrike-data.spec b/vegastrike-data.spec
index 3ea5c23..39ca59e 100644
--- a/vegastrike-data.spec
+++ b/vegastrike-data.spec
@@ -61,9 +61,6 @@ 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
@@ -108,11 +105,11 @@ 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
@@ -121,8 +118,9 @@ fi
 
 
 %changelog
-* Wed Apr 04 2012 Bruno Wolff III <bruno at wolff.to> 0.5.1-1.r1
+* Sat Apr 07 2012 Bruno Wolff III <bruno at wolff.to> 0.5.1-1.r1
 - Update to 0.5.1 release
+- pyc and pyo files now get created
 
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.1-0.3.beta1.2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild


More information about the scm-commits mailing list