[packages/lizardfs: 4/4] Adapterized again.

matkor matkor at pld-linux.org
Thu Jun 16 17:25:21 CEST 2016


commit 16ae71b3c578995fc90434a300c86c0eb49af751
Author: Mateusz Korniak <matkor at pld-linux.org>
Date:   Thu Jun 16 16:33:06 2016 +0200

    Adapterized again.

 lizardfs.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lizardfs.spec b/lizardfs.spec
index e7a5413..75c5606 100644
--- a/lizardfs.spec
+++ b/lizardfs.spec
@@ -94,10 +94,10 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}
 mv $RPM_BUILD_ROOT%{_prefix}%{_sysconfdir}/mfs/ $RPM_BUILD_ROOT%{_sysconfdir}/mfs/
 
 install -d $RPM_BUILD_ROOT/var/lib/%{name}
-cp $RPM_BUILD_ROOT/usr/var/lib/mfs/metadata.mfs.empty  $RPM_BUILD_ROOT%{_sysconfdir}/mfs/
+cp $RPM_BUILD_ROOT%{_prefix}/var/lib/mfs/metadata.mfs.empty $RPM_BUILD_ROOT%{_sysconfdir}/mfs/
 install -d $RPM_BUILD_ROOT/var/lib/%{name}/master
 install -d $RPM_BUILD_ROOT/var/lib/%{name}/chunkserver
-mv $RPM_BUILD_ROOT/usr/var/lib/mfs/metadata.mfs.empty  $RPM_BUILD_ROOT/var/lib/%{name}/master/metadata.mfs
+mv $RPM_BUILD_ROOT%{_prefix}/var/lib/mfs/metadata.mfs.empty $RPM_BUILD_ROOT/var/lib/%{name}/master/metadata.mfs
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lizardfs.git/commitdiff/16ae71b3c578995fc90434a300c86c0eb49af751



More information about the pld-cvs-commit mailing list