summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-06-18 10:05:26 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-06-18 10:05:26 +0200
commite707dfef918c56eaf7eec6f295f3584badda3c99 (patch)
tree2e8f6b4edf8443ffb4bc03cacfb584d4a06c4ed9
parent00eb41175ac8d3a60b22e3b568b57b6abac7af98 (diff)
Use --exec-prefix
-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