SPECS: php-sqlite3.spec - builds now

arekm arekm at pld-linux.org
Sat Dec 9 22:20:47 CET 2006


Author: arekm                        Date: Sat Dec  9 21:20:47 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds now

---- Files affected:
SPECS:
   php-sqlite3.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/php-sqlite3.spec
diff -u SPECS/php-sqlite3.spec:1.1 SPECS/php-sqlite3.spec:1.2
--- SPECS/php-sqlite3.spec:1.1	Sat Dec  9 20:01:45 2006
+++ SPECS/php-sqlite3.spec	Sat Dec  9 22:20:42 2006
@@ -11,6 +11,7 @@
 Group:		Development/Languages/PHP
 Source0:	http://dl.sourceforge.net/sourceforge/php-sqlite3/%{_modname}-%{version}.tgz
 # Source0-md5:	fc15ace3f5fd0aac0186745d6cff8a70
+Patch0:		%{name}-tsrm.patch
 URL:		http://php-sqlite3.sourceforge.net/pmwiki/pmwiki.php
 BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	sqlite3-devel >= 3.3.5
@@ -34,6 +35,8 @@
 
 %prep
 %setup -q -c
+cd %{_modname}-%{version}
+%patch0 -p1
 
 %build
 cd %{_modname}-%{version}
@@ -50,9 +53,9 @@
 %{__make} -C %{_modname}-%{version} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
-cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_smodname}.ini
+cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
 ; Enable %{_modname} extension module
-extension=%{_smodname}.so
+extension=%{_modname}.so
 EOF
 
 %clean
@@ -70,10 +73,10 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_modname}-%{version}/README %{_modname}-%{version}/TODO %{_modname}-%{version}/CREDITS
-%doc %{_modname}-%{version}/sqlite.php %{_modname}-%{version}/tests
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/%{_smodname}.ini
-%attr(755,root,root) %{extensionsdir}/%{_smodname}.so
+%doc %{_modname}-%{version}/README %{_modname}-%{version}/ChangeLog
+%doc %{_modname}-%{version}/examples/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/%{_modname}.ini
+%attr(755,root,root) %{extensionsdir}/%{_modname}.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -81,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/12/09 21:20:42  arekm
+- builds now
+
 Revision 1.1  2006/12/09 19:01:45  arekm
 - new; doesn't build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-sqlite3.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list