rpms/php-json/FC-5 .cvsignore, 1.3, 1.4 php-json.spec, 1.5, 1.6 sources, 1.3, 1.4
Brandon Holbrook (static)
fedora-extras-commits at redhat.com
Sat Aug 19 18:23:11 UTC 2006
Author: static
Update of /cvs/extras/rpms/php-json/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25818
Modified Files:
.cvsignore php-json.spec sources
Log Message:
New maintainer
Updated to 1.2.1 (bz#198564)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-json/FC-5/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 14 Feb 2006 05:03:16 -0000 1.3
+++ .cvsignore 19 Aug 2006 18:23:10 -0000 1.4
@@ -1 +1 @@
-php-json-ext-1.1.1.tar.bz2
+php-json-ext-1.2.1.tar.bz2
Index: php-json.spec
===================================================================
RCS file: /cvs/extras/rpms/php-json/FC-5/php-json.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- php-json.spec 13 Apr 2006 09:17:32 -0000 1.5
+++ php-json.spec 19 Aug 2006 18:23:10 -0000 1.6
@@ -1,10 +1,9 @@
-%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
-%{!?php_version:%define php_version %(php-config --version 2>/dev/null || echo 4.3.11)}
-%define php_apiver %({ phpize --version || echo "PHP Api Version: 0" ; } | grep -i "php api" | sed 's/[^0-9]//g')
+%global php_apiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
+%global php_extdir %(php-config --extension-dir 2>/dev/null || echo "undefined")
Name: php-json
-Version: 1.1.1
-Release: 2%{?dist}
+Version: 1.2.1
+Release: 1%{?dist}
Summary: An extremely fast PHP extension for JSON
Group: Development/Languages
@@ -32,11 +31,10 @@
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{php_extdir}
-install -p -m 0755 modules/json.so $RPM_BUILD_ROOT%{php_extdir}
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/php.d
-cat > $RPM_BUILD_ROOT%{_sysconfdir}/php.d/json.ini << EOF
+rm -rf %{buildroot}
+install -D -p -m 0755 modules/json.so %{buildroot}%{php_extdir}/json.so
+mkdir -p %{buildroot}%{_sysconfdir}/php.d
+cat > %{buildroot}%{_sysconfdir}/php.d/json.ini << EOF
; Enable json extension module
extension=json.so
EOF
@@ -55,7 +53,7 @@
}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
@@ -64,6 +62,11 @@
%{php_extdir}/json.so
%changelog
+* Sat Aug 19 2006 Brandon Holbrook <fedora at theholbrooks.org> 1.2.1-1
+- New Maintainer
+- Bumped to 1.2.1
+- New FE php macros
+
* Thu Apr 13 2006 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 1.1.1-2
- Added Requires on php-api (#186903)
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-json/FC-5/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 14 Feb 2006 05:03:16 -0000 1.3
+++ sources 19 Aug 2006 18:23:10 -0000 1.4
@@ -1 +1 @@
-d884a5ca7ddb420b5b261941217f6c68 php-json-ext-1.1.1.tar.bz2
+e06e701412a055f3372775216ec3d604 php-json-ext-1.2.1.tar.bz2
More information about the fedora-extras-commits
mailing list