]> git.pld-linux.org Git - packages/hhvm.git/commitdiff
cmake /usr/usr/ workaround auto/th/hhvm-3.3.2-1
authorElan Ruusamäe <glen@delfi.ee>
Fri, 2 Jan 2015 21:06:11 +0000 (23:06 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 2 Jan 2015 21:06:11 +0000 (23:06 +0200)
hhvm.spec

index 8857d4589d417891f410f0dbfce60bf20911d71d..949329d917e194515a0607c05939a12a8437be4d 100644 (file)
--- a/hhvm.spec
+++ b/hhvm.spec
@@ -341,6 +341,13 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}
 if [ ! -f installed.stamp ]; then
 # begin install block
 
+# fix broken cmake rules
+# TODO: fix cmake rules
+if [ -d $RPM_BUILD_ROOT%{_prefix}/usr ]; then
+       cp -a $RPM_BUILD_ROOT%{_prefix}/usr/* $RPM_BUILD_ROOT%{_prefix}
+       rm -rf $RPM_BUILD_ROOT%{_prefix}/usr
+fi
+
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_libdir}/%{name}}
 cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
 
This page took 0.054562 seconds and 4 git commands to generate.