summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miav-client.spec2
-rw-r--r--miav-server.spec4
2 files changed, 4 insertions, 2 deletions
diff --git a/miav-client.spec b/miav-client.spec
index df756cd..481241d 100644
--- a/miav-client.spec
+++ b/miav-client.spec
@@ -17,7 +17,7 @@ tar xvzf %{_sourcedir}/%{SOURCEURL0}
mv miav-%{version}/* %{_builddir}
%build
-./configure --prefix=/usr --with-gui --without-server
+./configure --prefix= --exec-prefix=/usr --with-gui --without-server
make
%install
diff --git a/miav-server.spec b/miav-server.spec
index e65cc3d..c0956e0 100644
--- a/miav-server.spec
+++ b/miav-server.spec
@@ -17,8 +17,10 @@ tar xvzf %{_sourcedir}/%{SOURCEURL0}
mv miav-%{version}/* %{_builddir}
%build
-./configure --prefix=/usr --without-gui --with-server
+./configure --prefix= --exec-prefix=/usr --without-gui --with-server
make
+mkdir etc
+cp %{_builddir}/etc/miav/conf.example etc/miav.conf
%install
%make_install