RPM support in general packaging script.

This commit is contained in:
Matthew
2010-08-14 22:24:05 +12:00
parent 0e2b4bb721
commit 07b2bcbfdf
2 changed files with 10 additions and 5 deletions

View File

@@ -23,11 +23,10 @@ and includes Command & Conquer as an official mod.
%setup -n %{folder}
%build
make prefix="$RPM_BUILD_ROOT/usr"
%install
rm -rf $RPM_BUILD_ROOT
make prefix="$RPM_BUILD_ROOT/usr" install
cp -r ~/openra-package/built/usr/ $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT