[libvirt-php][PATCH 03/14] libvirt-php.spec.in: Honour php-{extensiondir, confdir}

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So while we have the ability to specify where the module should
be installed, we are not doing so in the spec file. It's not very
wise.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 libvirt-php.spec.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libvirt-php.spec.in b/libvirt-php.spec.in
index 5a11581..2aae1d5 100644
--- a/libvirt-php.spec.in
+++ b/libvirt-php.spec.in
@@ -58,7 +58,10 @@ This package contain the document for libvirt-php.
 %setup -q -n libvirt-php-%{version}
 
 %build
-%configure --with-html-dir=%{_datadir}/doc --with-html-subdir=%{name}-%{version}/html --libdir=%{php_extdir}
+%configure --with-html-dir=%{_datadir}/doc \
+           --with-html-subdir=%{name}-%{version}/html \
+           --with-php-extensiondir=%{php_extdir} \
+           --with-php-confdir=%{php_confdir}
 make %{?_smp_mflags}
 
 %install
@@ -72,7 +75,6 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root)
 %{php_extdir}/libvirt-php.so
-%{php_extdir}/libvirt-php.so.*
 %config(noreplace) %{php_confdir}/libvirt-php.ini
 
 %files -n libvirt-php-doc
-- 
2.8.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]