From 46052197ab463ff91a4318f3c7a580636d8b41d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 29 Dec 2006 15:54:33 +0000 Subject: [PATCH] - do not set magic db, use system defaults; rel 3 Changed files: php-pecl-fileinfo.spec -> 1.16 --- php-pecl-fileinfo.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php-pecl-fileinfo.spec b/php-pecl-fileinfo.spec index eeb9149..6d0dc52 100644 --- a/php-pecl-fileinfo.spec +++ b/php-pecl-fileinfo.spec @@ -5,11 +5,12 @@ Summary: %{_modname} - libmagic bindings Summary(pl): %{_modname} - dowi±zania biblioteki libmagic Name: php-pecl-%{_modname} Version: 1.0.4 -Release: 2 +Release: 3 License: PHP Group: Development/Languages/PHP Source0: http://pecl.php.net/get/%{_smodname}-%{version}.tgz # Source0-md5: 2854e749db157365c769cb9496f5586f +Patch0: pecl-fileinfo-defaultdb.patch URL: http://pecl.php.net/package/Fileinfo/ BuildRequires: libmagic-devel BuildRequires: php-devel >= 3:5.0.0 @@ -40,6 +41,7 @@ To rozszerzenie ma w PECL status: %{_status}. %prep %setup -q -c +%patch0 -p1 %build cd %{_smodname}-%{version} @@ -51,7 +53,7 @@ phpize rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}} -install %{_modname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir} +install %{_smodname}-%{version}/modules/%{_modname}.so $RPM_BUILD_ROOT%{php_extensiondir} cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini ; Enable %{_modname} extension module extension=%{_modname}.so -- 2.44.0