[packages/php-sebastian-environment: 2/2] install to pear dir to provide autogenerated pear deps
glen
glen at pld-linux.org
Wed May 3 21:23:05 CEST 2017
commit 3912903efb9a026c1b0f1fe044f760fe2ece2465
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 3 22:22:46 2017 +0300
install to pear dir to provide autogenerated pear deps
php-sebastian-environment.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/php-sebastian-environment.spec b/php-sebastian-environment.spec
index 3bb773e..ed6528c 100644
--- a/php-sebastian-environment.spec
+++ b/php-sebastian-environment.spec
@@ -3,6 +3,7 @@
%bcond_with tests # build without tests
%define php_min_version 5.3.3
+%include /usr/lib/rpm/macros.php
Summary: Handle HHVM/PHP environments
Name: php-sebastian-environment
Version: 1.3.8
@@ -48,8 +49,8 @@ phpunit --bootstrap SebastianBergmann/Environment/autoload.php
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_data_dir}/SebastianBergmann
-cp -a SebastianBergmann/Environment $RPM_BUILD_ROOT%{php_data_dir}/SebastianBergmann/Environment
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/SebastianBergmann
+cp -a SebastianBergmann/Environment $RPM_BUILD_ROOT%{php_pear_dir}/SebastianBergmann/Environment
%clean
rm -rf $RPM_BUILD_ROOT
@@ -57,5 +58,5 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README.md LICENSE composer.json
-%dir %{php_data_dir}/SebastianBergmann
-%{php_data_dir}/SebastianBergmann/Environment
+%dir %{php_pear_dir}/SebastianBergmann
+%{php_pear_dir}/SebastianBergmann/Environment
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-sebastian-environment.git/commitdiff/3912903efb9a026c1b0f1fe044f760fe2ece2465
More information about the pld-cvs-commit
mailing list