[vegastrike-data] Get file and directory lists for -data and -extra.

Bruno Wolff III bruno at fedoraproject.org
Sat Jul 9 18:49:40 UTC 2011


commit 62adb2c96733c8eccbf18fda6fc5f0a6fc54013d
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jul 9 01:21:11 2011 -0500

    Get file and directory lists for -data and -extra.

 vegastrike-data.spec |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vegastrike-data.spec b/vegastrike-data.spec
index eeaa756..8724ac6 100644
--- a/vegastrike-data.spec
+++ b/vegastrike-data.spec
@@ -39,6 +39,12 @@ chmod +x units/findunits.py modules/webpageize.py
 sed -i 's/\r//g' documentation/mission_howto.txt
 # remove the stale included manpages and the .xls abonimation
 rm documentation/*.1 documentation/*.xls
+find . -type d | sort -u > data.dirs
+find . -type f | sort -u > data.files
+cd ..
+cp -a vegastrike-extra-%{version}.beta1/* %{name}-%{version}.beta1
+cd %{name}-%{version}.beta1
+find . -type f | sort -u | comm -2 -3 - data.files > extra.files
 
 
 %build


More information about the scm-commits mailing list