summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miav-client.spec3
-rw-r--r--miav-server.spec1
2 files changed, 2 insertions, 2 deletions
diff --git a/miav-client.spec b/miav-client.spec
index 09475f2..df756cd 100644
--- a/miav-client.spec
+++ b/miav-client.spec
@@ -12,12 +12,11 @@ BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release}
%{summary}
%prep
-echo "prep %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PWD: $PWD"
+rm %{_builddir}/* -Rf
tar xvzf %{_sourcedir}/%{SOURCEURL0}
mv miav-%{version}/* %{_builddir}
%build
-echo "build %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PWD: $PWD"
./configure --prefix=/usr --with-gui --without-server
make
diff --git a/miav-server.spec b/miav-server.spec
index 396686d..e65cc3d 100644
--- a/miav-server.spec
+++ b/miav-server.spec
@@ -12,6 +12,7 @@ BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release}
%{summary}
%prep
+rm %{_builddir}/* -Rf
tar xvzf %{_sourcedir}/%{SOURCEURL0}
mv miav-%{version}/* %{_builddir}