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(a)redhat.com>
---
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