]>
Commit | Line | Data |
---|---|---|
fd4a736f ER |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without system_dconv # system double-conversion | |
4 | %bcond_without system_sqlite # system sqlite3 | |
5 | %bcond_without system_lz4 # system lz4 | |
e494b5cb | 6 | %bcond_without system_fastlz # system fastlz |
934d354b | 7 | %bcond_with system_libafdt # system libafdt |
c19fc9d9 | 8 | %bcond_without system_libzip # system libzip |
8041f44b ER |
9 | # cotire breaks sqlite3 on builders: https://github.com/facebook/hhvm/issues/4524 |
10 | %bcond_with cotire # cotire (compile time reducer): Speed up the build by precompiling headers | |
fd4a736f | 11 | |
b682fdb1 ER |
12 | # TODO |
13 | # - system xhp | |
14 | # - system proxygen | |
15 | # - system thrift | |
16 | ||
89ad59aa ER |
17 | # NOTES: |
18 | # - hphp/runtime/base/runtime-option.cpp evalJitDefault enables jit if /.hhvm-jit exists (yes, in filesystem root) | |
b682fdb1 | 19 | |
d9b6cc98 ER |
20 | # must be in sync with source. extra check ensuring that it is so is done in %%build |
21 | %define hhvm_api_version 20140829 | |
af2b6c94 ER |
22 | # hphp/system/idl/constants.idl.json defines it as 5.6.99-hhvm, but use some saner value |
23 | %define php_version 5.6.0 | |
24 | ||
d2187d4f ER |
25 | # git show HHVM-3.3.5 |
26 | %define githash b2856c601e317b6d66fd1861c4cc889ae91d9f6f | |
b682fdb1 | 27 | # these hashes are git submodules (be sure to check them on proper branch) |
e7f30897 ER |
28 | # GIT_DIR=third-party/.git git log -1 |
29 | %define thirdparty bf581f8 | |
30 | # 6e46d468cf2876dd59c7a4dddcb4e37abf070b7a | |
31 | # GIT_DIR=third-party/folly/src/.git git log -1 | |
b682fdb1 | 32 | %define folly 6e46d46 |
ed14b19f | 33 | Summary: Virtual Machine, Runtime, and JIT for PHP |
aa7908cc | 34 | Name: hhvm |
d84d6344 ER |
35 | # we prefer LTS versions |
36 | # see http://hhvm.com/blog/6083/hhvm-long-term-support | |
d2187d4f | 37 | Version: 3.3.5 |
47e79e0f | 38 | Release: 3 |
6135817a | 39 | License: PHP 3.01 and BSD |
ac2930bc | 40 | Group: Development/Languages |
aa7908cc | 41 | Source0: https://github.com/facebook/hhvm/archive/HHVM-%{version}.tar.gz |
d2187d4f | 42 | # Source0-md5: 57af76be5b4a10e35cb6eb705e0ff663 |
20de90ba ER |
43 | Source2: https://github.com/facebook/folly/archive/%{folly}/folly-3.2-%{folly}.tar.gz |
44 | # Source2-md5: c4bdbea4c0ffe0650d12d9ff370b8255 | |
745db304 | 45 | Source3: https://github.com/hhvm/hhvm-third-party/archive/%{thirdparty}/third_party-%{thirdparty}.tar.gz |
e7f30897 | 46 | # Source3-md5: 17210db0b2211c63d911076e02aab487 |
6135817a ER |
47 | Source5: %{name}-fcgi.init |
48 | Source6: %{name}-fcgi.sysconfig | |
49 | Source7: php.ini | |
991b3017 | 50 | Source100: get-source.sh |
449902dc | 51 | Patch1: no-debug.patch |
e66c75f6 | 52 | Patch2: hphpize.patch |
3e79618f | 53 | Patch3: MAX.patch |
142dde19 | 54 | Patch4: system-thirdparty.patch |
a46def0c | 55 | Patch5: cmake.patch |
c77f551c | 56 | Patch6: libvpx2.patch |
ff452300 | 57 | URL: https://github.com/facebook/hhvm/wiki |
f7556a8c | 58 | BuildRequires: ImageMagick-devel |
9256e518 | 59 | BuildRequires: a52dec-libs-devel |
b05f3896 ER |
60 | BuildRequires: apr-devel |
61 | BuildRequires: autoconf | |
3f49543c | 62 | BuildRequires: binutils-devel |
6135817a ER |
63 | # CMake/HPHPFindLibs.cmake:364 - FIND_LIBRARY (BFD_LIB libbfd.a) |
64 | BuildRequires: binutils-static | |
ed14b19f | 65 | BuildRequires: boost-devel >= 1.50 |
745db304 | 66 | BuildRequires: cmake >= 2.8.5 |
ed14b19f | 67 | BuildRequires: curl-devel >= 7.29.0 |
fd4a736f | 68 | %{?with_system_dconv:BuildRequires: double-conversion-devel >= 1.1.1} |
ed14b19f | 69 | BuildRequires: elfutils-devel |
3f49543c | 70 | BuildRequires: expat-devel |
e494b5cb | 71 | %{?with_system_fastlz:BuildRequires: fastlz-devel >= 0.1.0-0.r12} |
5c61d46f | 72 | BuildRequires: gcc >= 6:4.6.0 |
3f49543c | 73 | BuildRequires: gd-devel |
ed14b19f ER |
74 | BuildRequires: glog-devel >= 0.3.2 |
75 | BuildRequires: imap-devel >= 1:2007 | |
991b3017 | 76 | #BuildRequires: jemalloc-devel >= 3.0.0 |
e494b5cb | 77 | %{?with_system_libafdt:BuildRequires: libafdt-devel >= 0.1.0} |
3f49543c | 78 | BuildRequires: libcap-devel |
04f13235 | 79 | BuildRequires: libdwarf-devel >= 20130729 |
ac2930bc | 80 | BuildRequires: libicu-devel >= 4.2 |
be373886 | 81 | #BuildRequires: libmbfl-devel |
ed14b19f | 82 | BuildRequires: libmcrypt-devel |
e883c14f | 83 | BuildRequires: libmemcached-devel >= 1.0.4 |
491a5eb9 | 84 | BuildRequires: libstdc++-devel >= 6:4.8 |
ed14b19f | 85 | BuildRequires: libunwind-devel |
ac2930bc | 86 | BuildRequires: libxml2-devel |
9256e518 | 87 | BuildRequires: libxslt-devel |
ca0d5750 | 88 | %{?with_system_libzip:BuildRequires: libzip-devel >= 0.11.2} |
fd4a736f | 89 | %{?with_system_lz4:BuildRequires: lz4-devel >= 0.0-1.r119} |
3f49543c | 90 | BuildRequires: mysql-devel |
04f13235 | 91 | BuildRequires: ocaml-findlib |
ac2930bc | 92 | BuildRequires: oniguruma-devel |
3f49543c | 93 | BuildRequires: openssl-devel |
fd4a736f | 94 | BuildRequires: pcre-devel >= 8.32 |
ed14b19f | 95 | #BuildRequires: php-xhp-devel >= 1.3.9-6 |
ed14b19f | 96 | BuildRequires: readline-devel |
89ad59aa | 97 | BuildRequires: rpmbuild(macros) >= 1.675 |
fd4a736f | 98 | %{?with_system_sqlite:BuildRequires: sqlite3-devel >= 3.7.15.2} |
ed14b19f | 99 | BuildRequires: tbb-devel >= 4.0.6000 |
3f49543c | 100 | BuildRequires: zlib-devel |
21df9de7 ER |
101 | # check later, seem unused |
102 | #BuildRequires: bison >= 2.3 | |
103 | #BuildRequires: flex >= 2.5.35 | |
ca0d5750 | 104 | BuildRequires: libafdt-devel >= 0.1.0 |
21df9de7 | 105 | #BuildRequires: re2c >= 0.13.0 |
87330af7 | 106 | Provides: %{name}(api) = %{hhvm_api_version} |
c91d719c ER |
107 | Provides: php(core) = %{php_version} |
108 | # foreach (get_loaded_extensions() as $ext) printf("Provides:\tphp(%s)\n", strtolower($ext)); | |
206caaaf ER |
109 | Provides: php(apc) |
110 | Provides: php(bcmath) | |
991b3017 | 111 | Provides: php(bz2) |
745db304 | 112 | Provides: php(calendar) |
206caaaf ER |
113 | Provides: php(ctype) |
114 | Provides: php(curl) | |
115 | Provides: php(date) | |
9c2504b3 | 116 | Provides: php(debugger) |
206caaaf | 117 | Provides: php(dom) |
c91d719c | 118 | Provides: php(enum) |
206caaaf ER |
119 | Provides: php(exif) |
120 | Provides: php(fb) | |
991b3017 | 121 | Provides: php(fileinfo) |
206caaaf | 122 | Provides: php(filter) |
745db304 | 123 | Provides: php(ftp) |
206caaaf | 124 | Provides: php(gd) |
745db304 | 125 | Provides: php(gettext) |
c91d719c | 126 | Provides: php(gmp) |
206caaaf | 127 | Provides: php(hash) |
9c2504b3 ER |
128 | Provides: php(hh) |
129 | Provides: php(hhvm.debugger) | |
130 | Provides: php(hhvm.ini) | |
206caaaf ER |
131 | Provides: php(hotprofiler) |
132 | Provides: php(iconv) | |
206caaaf | 133 | Provides: php(idn) |
9c2504b3 | 134 | Provides: php(imagick) |
206caaaf | 135 | Provides: php(imap) |
9c2504b3 | 136 | Provides: php(intl) |
206caaaf ER |
137 | Provides: php(json) |
138 | Provides: php(ldap) | |
9c2504b3 | 139 | Provides: php(libxml) |
c91d719c ER |
140 | Provides: php(mail) |
141 | Provides: php(mailparse) | |
206caaaf ER |
142 | Provides: php(mbstring) |
143 | Provides: php(mcrypt) | |
144 | Provides: php(memcache) | |
145 | Provides: php(memcached) | |
146 | Provides: php(mysql) | |
9c2504b3 | 147 | Provides: php(mysqli) |
745db304 | 148 | Provides: php(oauth) |
206caaaf ER |
149 | Provides: php(openssl) |
150 | Provides: php(pcntl) | |
151 | Provides: php(pcre) | |
745db304 | 152 | Provides: php(pcre_zend_compat) |
206caaaf ER |
153 | Provides: php(pdo) |
154 | Provides: php(pdo_mysql) | |
155 | Provides: php(pdo_sqlite) | |
156 | Provides: php(phar) | |
157 | Provides: php(posix) | |
9c2504b3 | 158 | Provides: php(redis) |
206caaaf ER |
159 | Provides: php(reflection) |
160 | Provides: php(server) | |
161 | Provides: php(session) | |
162 | Provides: php(simplexml) | |
163 | Provides: php(soap) | |
164 | Provides: php(sockets) | |
165 | Provides: php(spl) | |
166 | Provides: php(sqlite3) | |
745db304 ER |
167 | Provides: php(standard) |
168 | Provides: php(standard_zend_compat) | |
9c2504b3 | 169 | Provides: php(stream) |
206caaaf ER |
170 | Provides: php(sysvmsg) |
171 | Provides: php(sysvsem) | |
172 | Provides: php(sysvshm) | |
173 | Provides: php(thread) | |
174 | Provides: php(thrift_protocol) | |
175 | Provides: php(tokenizer) | |
9c2504b3 | 176 | Provides: php(url) |
745db304 ER |
177 | Provides: php(wddx) |
178 | Provides: php(xenon) | |
206caaaf ER |
179 | Provides: php(xhprof) |
180 | Provides: php(xml) | |
181 | Provides: php(xmlreader) | |
182 | Provides: php(xmlwriter) | |
9c2504b3 | 183 | Provides: php(xsl) |
745db304 | 184 | Provides: php(yaml) |
991b3017 | 185 | Provides: php(zip) |
206caaaf | 186 | Provides: php(zlib) |
991b3017 | 187 | Obsoletes: hiphop-php < 2.3.2-0.2 |
17c75ade | 188 | ExclusiveArch: %{x8664} |
65446f6c ER |
189 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
190 | ||
c171e0ff | 191 | |
6135817a ER |
192 | %define hhvm_extensiondir %{_libdir}/hhvm |
193 | ||
65446f6c | 194 | %description |
aa7908cc ER |
195 | HHVM (aka the HipHop Virtual Machine) is a new open-source virtual |
196 | machine designed for executing programs written in PHP. HHVM uses a | |
197 | just-in-time compilation approach to achieve superior performance | |
198 | while maintaining the flexibility that PHP developers are accustomed | |
199 | to. To date, HHVM (and its predecessor HPHPc before it) has realized | |
200 | over a 9x increase in web request throughput and over a 5x reduction | |
201 | in memory consumption for Facebook compared with the Zend PHP 5.2 | |
202 | engine + APC. | |
203 | ||
204 | HHVM can be run as a standalone webserver (i.e. without the Apache | |
205 | webserver and the "mod_php" extension). HHVM can also be used together | |
206 | with a FastCGI-based webserver, and work is in progress to make HHVM | |
207 | work smoothly with Apache. | |
65446f6c | 208 | |
2347c3ae ER |
209 | %package fcgi |
210 | Summary: Init script to start HHVM as FastCGI daemon | |
211 | Group: Development/Languages/PHP | |
212 | Requires: %{name} = %{version}-%{release} | |
213 | Provides: php(fcgi) | |
214 | Requires(post,preun): /sbin/chkconfig | |
215 | Requires: rc-scripts | |
216 | ||
217 | %description fcgi | |
218 | Init script to start HHVM as FastCGI daemon | |
219 | ||
3234b364 ER |
220 | %package program |
221 | Summary: /usr/bin/php symlink | |
222 | Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php | |
223 | Group: Development/Languages/PHP | |
224 | Requires: %{name} = %{version}-%{release} | |
225 | Obsoletes: /usr/bin/php | |
226 | ||
227 | %description program | |
228 | Package providing /usr/bin/php symlink to PHP CLI. | |
229 | ||
230 | %description program -l pl.UTF-8 | |
231 | Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI. | |
232 | ||
c6264399 ER |
233 | %package devel |
234 | Summary: Files for HHVM modules development | |
235 | Group: Development/Languages/PHP | |
236 | URL: https://github.com/facebook/hhvm/wiki/Extension-API | |
f6ea7eef | 237 | Requires: boost-devel >= 1.50 |
c6264399 | 238 | Requires: cmake >= 2.8.5 |
f6ea7eef | 239 | Requires: glog-devel >= 0.3.2 |
e7779ee6 | 240 | Requires: libstdc++-devel >= 6:4.3 |
f6ea7eef ER |
241 | Requires: tbb-devel >= 4.0.6000 |
242 | Requires: zlib-devel | |
c6264399 ER |
243 | |
244 | %description devel | |
245 | HHVM provides a set of APIs for adding built-in functionality to the | |
246 | runtime either by way of pure PHP code, or a combination of PHP and | |
247 | C++. | |
248 | ||
65446f6c | 249 | %prep |
20de90ba | 250 | %setup -q -n %{name}-HHVM-%{version} -a2 -a3 |
991b3017 | 251 | |
745db304 ER |
252 | # handle git submodules |
253 | rmdir third-party | |
254 | mv hhvm-third-party-* third-party | |
255 | rmdir third-party/folly/src | |
256 | mv folly-* third-party/folly/src | |
f8472382 | 257 | |
449902dc | 258 | %patch1 -p1 |
e66c75f6 | 259 | %patch2 -p1 |
3e79618f | 260 | %patch3 -p1 |
142dde19 | 261 | %patch4 -p1 |
52bf161a | 262 | #%patch5 -p1 |
c77f551c | 263 | %patch6 -p1 |
ed14b19f | 264 | |
c6264399 | 265 | # prefer ones from system |
20e9b450 | 266 | rm CMake/FindBISON.cmake |
20e9b450 | 267 | rm CMake/FindFLEX.cmake |
b17fa9dd | 268 | rm CMake/FindFreetype.cmake |
ed14b19f | 269 | |
40280c0c ER |
270 | # ensure system libs get used |
271 | cd third-party | |
272 | rm -r pcre \ | |
3889faa2 | 273 | %{?with_system_sqlite:libsqlite3} \ |
40280c0c ER |
274 | %{?with_system_lz4:lz4} \ |
275 | %{?with_system_dconv:double-conversion} \ | |
276 | %{?with_system_fastlz:fastlz} \ | |
277 | %{?with_system_libafdt:libafdt} \ | |
c19fc9d9 | 278 | %{?with_system_libzip:libzip} \ |
40280c0c ER |
279 | %{nil} |
280 | ||
ac2930bc | 281 | %build |
c171e0ff ER |
282 | # also in: hphp/tools/hphpize/hphpize.cmake |
283 | API=$(awk '/#define HHVM_API_VERSION/{v=$3; sub(/L$/, "", v); print v}' hphp/runtime/ext/extension.h) | |
284 | ||
285 | if [ $API != %{hhvm_api_version} ]; then | |
286 | echo "Set %%define hhvm_api_version to $API and re-run." | |
287 | exit 1 | |
288 | fi | |
289 | ||
20de90ba ER |
290 | # out of dir build broken (can't find it's tools, or headers) |
291 | #install -d build | |
292 | #cd build | |
449902dc ER |
293 | |
294 | # handle cmake & ccache | |
8dff2648 | 295 | # http://stackoverflow.com/questions/1815688/how-to-use-ccache-with-cmake |
449902dc ER |
296 | # ASM fix: http://lists.busybox.net/pipermail/buildroot/2013-March/069436.html |
297 | if [[ "%{__cc}" = *ccache* ]]; then | |
298 | cc="%{__cc}" | |
299 | cxx="%{__cxx}" | |
300 | ccache=" | |
301 | -DCMAKE_C_COMPILER="ccache" -DCMAKE_C_COMPILER_ARG1="${cc#ccache }" \ | |
302 | -DCMAKE_CXX_COMPILER="ccache" -DCMAKE_CXX_COMPILER_ARG1="${cxx#ccache }" \ | |
303 | -DCMAKE_ASM_COMPILER="${cc#ccache }" \ | |
304 | " | |
305 | fi | |
e883c14f | 306 | |
ef07ca95 | 307 | %cmake \ |
449902dc | 308 | $ccache \ |
ef07ca95 | 309 | -DCMAKE_PREFIX_PATH=%{_prefix} \ |
6135817a | 310 | -DHHVM_DYNAMIC_EXTENSION_DIR=%{hhvm_extensiondir} \ |
a0922d01 | 311 | -DUSE_JEMALLOC=OFF \ |
be373886 | 312 | -DUSE_TCMALLOC=OFF \ |
97e4fa4e | 313 | -DTEST_BIN=OFF \ |
2e505d70 | 314 | -DENABLE_COTIRE=%{!?with_cotire:OFF}%{?with_cotire:ON} \ |
20de90ba | 315 | . |
ac3c6624 | 316 | |
c513fdf6 ER |
317 | # setup COMPILER_ID/HHVM_REPO_SCHEMA so it doesn't look it up from our package git repo |
318 | # see hphp/util/generate-buildinfo.sh | |
ac3c6624 | 319 | export COMPILER_ID=HHVM-%{version}-%{release}-g%{githash} |
c513fdf6 ER |
320 | export HHVM_REPO_SCHEMA=$(date +%N_%s) |
321 | ||
ac2930bc ER |
322 | %{__make} |
323 | ||
65446f6c | 324 | %install |
745db304 ER |
325 | # make install relinks all outputs which is very slow, |
326 | # so to speedup rebuild, use timestamps to record states | |
327 | #test %{_specdir}/%{name}.spec -nt makeinstall.stamp && %{__rm} -f makeinstall.stamp | |
328 | if [ ! -f makeinstall.stamp -o ! -d $RPM_BUILD_ROOT ]; then | |
329 | rm -rf makeinstall.stamp installed.stamp $RPM_BUILD_ROOT | |
8d9f731f | 330 | |
8dff2648 | 331 | %{__make} install \ |
745db304 ER |
332 | DESTDIR=$RPM_BUILD_ROOT |
333 | ||
334 | touch makeinstall.stamp | |
335 | fi | |
336 | ||
337 | rm -rf $RPM_BUILD_ROOT%{_docdir} | |
338 | if [ ! -f installed.stamp ]; then | |
745db304 | 339 | # begin install block |
9c2504b3 | 340 | |
883526f7 ER |
341 | # fix broken cmake rules |
342 | # TODO: fix cmake rules | |
343 | if [ -d $RPM_BUILD_ROOT%{_prefix}/usr ]; then | |
344 | cp -a $RPM_BUILD_ROOT%{_prefix}/usr/* $RPM_BUILD_ROOT%{_prefix} | |
345 | rm -rf $RPM_BUILD_ROOT%{_prefix}/usr | |
346 | fi | |
347 | ||
073742e0 | 348 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_libdir}/%{name}} |
6135817a | 349 | cp -p %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
c3ecb766 | 350 | |
3234b364 ER |
351 | ln -s hhvm $RPM_BUILD_ROOT%{_bindir}/php |
352 | ln -s hhvm $RPM_BUILD_ROOT%{_bindir}/hphp | |
353 | ||
44fcba3e | 354 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/hdf |
17307be4 | 355 | cp -p hphp/doc/mime.hdf $RPM_BUILD_ROOT%{_datadir}/%{name}/hdf/static.mime-types.hdf |
44fcba3e | 356 | |
2347c3ae ER |
357 | # install fastcgi initscript |
358 | install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d} | |
6135817a ER |
359 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fcgi |
360 | cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/%{name}-fcgi | |
2347c3ae | 361 | |
ac3c6624 ER |
362 | install -p hphp/hack/bin/hh_{server,client} $RPM_BUILD_ROOT%{_bindir} |
363 | ||
745db304 ER |
364 | # end of install block |
365 | touch installed.stamp; fi | |
f6ea7eef | 366 | |
65446f6c ER |
367 | %clean |
368 | rm -rf $RPM_BUILD_ROOT | |
369 | ||
8d9f731f ER |
370 | %post -p /sbin/ldconfig |
371 | %postun -p /sbin/ldconfig | |
372 | ||
2347c3ae ER |
373 | %post fcgi |
374 | /sbin/chkconfig --add %{name}-fcgi | |
375 | %service %{name}-fcgi restart | |
376 | ||
377 | %preun fcgi | |
378 | if [ "$1" = "0" ]; then | |
379 | %service -q %{name}-fcgi stop | |
380 | /sbin/chkconfig --del %{name}-fcgi | |
381 | fi | |
382 | ||
65446f6c ER |
383 | %files |
384 | %defattr(644,root,root,755) | |
1c0ae000 | 385 | %doc README.md hphp/NEWS |
349ae084 | 386 | %dir %{_sysconfdir}/%{name} |
c3ecb766 | 387 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/php.ini |
8d9f731f | 388 | %attr(755,root,root) %{_bindir}/hhvm |
3234b364 | 389 | %attr(755,root,root) %{_bindir}/hphp |
ac3c6624 ER |
390 | %attr(755,root,root) %{_bindir}/hh_client |
391 | %attr(755,root,root) %{_bindir}/hh_server | |
44fcba3e ER |
392 | |
393 | %dir %{_datadir}/%{name} | |
394 | %dir %{_datadir}/%{name}/hdf | |
395 | %{_datadir}/%{name}/hdf/static.mime-types.hdf | |
3234b364 | 396 | |
073742e0 ER |
397 | # dir for extensions |
398 | %dir %{_libdir}/%{name} | |
399 | ||
2347c3ae ER |
400 | %files fcgi |
401 | %defattr(644,root,root,755) | |
402 | %attr(754,root,root) /etc/rc.d/init.d/%{name}-fcgi | |
403 | %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}-fcgi | |
404 | ||
3234b364 ER |
405 | %files program |
406 | %defattr(644,root,root,755) | |
407 | %attr(755,root,root) %{_bindir}/php | |
c6264399 ER |
408 | |
409 | %files devel | |
410 | %defattr(644,root,root,755) | |
411 | %attr(755,root,root) %{_bindir}/hphpize | |
412 | %{_includedir}/hphp | |
e35a4289 ER |
413 | %dir %{_libdir}/hhvm |
414 | %{_libdir}/hhvm/CMake | |
415 | %{_libdir}/hhvm/hphpize |