SPECS: sphinx.spec - php_data_dir

glen glen at pld-linux.org
Sun Oct 26 15:41:44 CET 2008


Author: glen                         Date: Sun Oct 26 14:41:44 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- php_data_dir

---- Files affected:
SPECS:
   sphinx.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/sphinx.spec
diff -u SPECS/sphinx.spec:1.16 SPECS/sphinx.spec:1.17
--- SPECS/sphinx.spec:1.16	Sun Aug 17 21:29:58 2008
+++ SPECS/sphinx.spec	Sun Oct 26 15:41:39 2008
@@ -31,7 +31,7 @@
 %{?with_mysql:BuildRequires:	mysql-devel}
 %{?with_pgsql:BuildRequires:	postgresql-devel}
 BuildRequires:	rpm-javaprov
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.461
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -168,8 +168,8 @@
 mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/searchd
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
-install -d $RPM_BUILD_ROOT%{_datadir}/php
-cp -a api/sphinxapi.php $RPM_BUILD_ROOT%{_datadir}/php
+install -d $RPM_BUILD_ROOT%{php_data_dir}
+cp -a api/sphinxapi.php $RPM_BUILD_ROOT%{php_data_dir}
 
 # libsphinxclient
 %{__make} -C api/libsphinxclient install \
@@ -232,7 +232,7 @@
 
 %files -n php-sphinx
 %defattr(644,root,root,755)
-%{_datadir}/php/sphinxapi.php
+%{php_data_dir}/sphinxapi.php
 
 %files -n python-sphinx
 %defattr(644,root,root,755)
@@ -244,6 +244,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2008/10/26 14:41:39  glen
+- php_data_dir
+
 Revision 1.16  2008/08/17 19:29:58  qboosh
 - pl fix
 - no files duplicate
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/sphinx.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list