[vegastrike-music] Make sure to end up in the right directory in the end.

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


commit 00c228250b23d1ccfdb84428e7a9bdd7c68850a9
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Tue Jun 28 22:05:04 2011 -0500

    Make sure to end up in the right directory in the end.

 vegastrike-music.spec |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/vegastrike-music.spec b/vegastrike-music.spec
index 2abfe40..a92c1ed 100644
--- a/vegastrike-music.spec
+++ b/vegastrike-music.spec
@@ -22,7 +22,11 @@ play the game.
 
 
 %prep
+%setup -q -b1 -n vegastrike-speech-%{version}.beta1
+cd ..
 %setup -q -n %{name}-%{version}.beta1
+cd ..
+mv vegastrike-speech-%{version}.beta1/* %{name}-%{version}.beta1
 
 
 %build
@@ -34,6 +38,11 @@ rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/vegastrike/music
 install -p -m 644 music/*.ogg $RPM_BUILD_ROOT%{_datadir}/vegastrike/music
 
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/vegastrike/communications
+install -p -m 644 communications/*.ogg $RPM_BUILD_ROOT%{_datadir}/vegastrike/communications
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/vegastrike/sounds
+install -p -m 644 sounds/*.ogg $RPM_BUILD_ROOT%{_datadir}/vegastrike/sounds
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,6 +58,7 @@ rm -rf $RPM_BUILD_ROOT
 * Tue Jun 28 2011 Bruno Wolff III <bruno at wolff.to> 0.5.1-0.1.beta1
 - Update to upstream 0.5.1.beta1
 - music now comes as a separate archive
+- Add another optional subpackage for speech
 
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.0-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list