Author: static
Update of /cvs/extras/rpms/php-pecl-Fileinfo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30655
Modified Files:
.cvsignore php-pecl-Fileinfo.spec sources
Log Message:
Fix bz 235110
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-Fileinfo/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 30 Dec 2006 05:36:35 -0000 1.3
+++ .cvsignore 16 Apr 2007 04:41:47 -0000 1.4
@@ -1 +1,2 @@
+fixconfigure.patch
Fileinfo-1.0.4.tgz
Index: php-pecl-Fileinfo.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-Fileinfo/devel/php-pecl-Fileinfo.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- php-pecl-Fileinfo.spec 30 Dec 2006 05:36:35 -0000 1.3
+++ php-pecl-Fileinfo.spec 16 Apr 2007 04:41:47 -0000 1.4
@@ -5,14 +5,19 @@
Summary: Fileinfo is a PHP extension that wraps the libmagic library
Name: php-pecl-Fileinfo
Version: 1.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: PHP License
Group: Development/Languages
URL:
http://pecl.php.net/package/Fileinfo
+
Source:
http://pecl.php.net/get/Fileinfo-%{version}.tgz
Source1: PHP-LICENSE-3.01
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Provides: php-pecl(Fileinfo) = %{version}-%{release}, php-Fileinfo =
%{version}-%{release}
+
+Patch0: fixconfigure.patch
+
+Provides: php-pecl(Fileinfo),
+Provides: php-Fileinfo
Requires: php-api = %{php_apiver}
BuildRequires: php-devel, file
@@ -24,13 +29,15 @@
Additionally, it can also be used to retrieve the MIME type for a particular
file, and for text files, the proper language encoding.
-%prep
+%prep
%setup -c -q
%{__install} -m 644 -c %{SOURCE1} Fileinfo-%{version}/LICENSE
+%patch0 -p0 -b .fixconfigure
%build
cd Fileinfo-%{version}
+bash
phpize
%configure
%{__make} %{?_smp_mflags}
@@ -57,7 +64,10 @@
%{php_extdir}/fileinfo.so
%changelog
-* Fri Dec 29 2006 Christian Iseli <Christian.Iseli(a)licr.org> 1.0.4-1
+* Sat Apr 14 2007 Brandon Holbrook <fedora AT theholbrooks DOT org> 1.0.4-2
+- Added a patch to config.m4 that fixes improper detection of the system's magic
database file [bz 235110]
+
+* Fri Dec 29 2006 Brandon Holbrook <fedora AT theholbrooks DOT org> 1.0.4-1
- Bumped to upstream 1.0.4
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli(a)licr.org> 1.0.3-3
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-Fileinfo/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 30 Dec 2006 05:36:35 -0000 1.3
+++ sources 16 Apr 2007 04:41:47 -0000 1.4
@@ -1 +1,2 @@
+dae948b0c6218afeada7b14a1238f460 fixconfigure.patch
2854e749db157365c769cb9496f5586f Fileinfo-1.0.4.tgz