summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-06-18 08:40:05 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-06-18 08:40:05 +0200
commitf7284fc0c87f103686492de0724135d7aaf130a8 (patch)
tree7d4ec430fd854d17cd07d7ea2652da5bbe6e9218
parent97221f0c03ec6d7897048438da3f870f823de561 (diff)
Alternate %prep segment.
-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}