rpms/php-eaccelerator/F-12 php-eaccelerator.spec, 1.44, 1.45 sources, 1.12, 1.13
Remi Collet
remi at fedoraproject.org
Sat Feb 6 10:02:34 UTC 2010
Author: remi
Update of /cvs/pkgs/rpms/php-eaccelerator/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7386
Modified Files:
php-eaccelerator.spec sources
Log Message:
update to 0.9.6
Index: php-eaccelerator.spec
===================================================================
RCS file: /cvs/pkgs/rpms/php-eaccelerator/F-12/php-eaccelerator.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -p -r1.44 -r1.45
--- php-eaccelerator.spec 26 Jul 2009 17:59:55 -0000 1.44
+++ php-eaccelerator.spec 6 Feb 2010 10:02:34 -0000 1.45
@@ -4,25 +4,25 @@
# on ppc since spinlock is not detected (not supported?)
# We also use it for the default ownership of the cache directory
%global apache 48
-%global svn 358
+#global svn 358
Summary: PHP accelerator, optimizer, encoder and dynamic content cacher
Name: php-eaccelerator
Version: 0.9.6
-Release: 0.2%{?svn:.svn%{svn}}%{?dist}
+#Release: 0.2%{?svn:.svn%{svn}}%{?dist}
+Release: 1
Epoch: 1
# The eaccelerator module itself is GPLv2+
# The PHP control panel is under the Zend license (control.php and dasm.php)
License: GPLv2+ and Zend
Group: Development/Languages
URL: http://eaccelerator.net/
-%if 0%{svn}
+%if 0%{?svn}
Source0: http://snapshots.eaccelerator.net/eaccelerator-svn%{svn}.tar.gz
%else
Source0: http://bart.eaccelerator.net/source/%{version}/eaccelerator-%{version}.tar.bz2
%endif
Source1: php-eaccelerator.cron
-Patch0: eaccelerator-0.9.5-rc1-config.patch
Patch1: eaccelerator-nophpversioncheck.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -30,7 +30,7 @@ Requires: php(zend-abi) = %{php_zend_api
Requires: php(api) = %{php_core_api}
Provides: php-zend_extension
Conflicts: php-mmcache
-BuildRequires: php, php-devel
+BuildRequires: php-devel >= 5.1.0
# Required by phpize
BuildRequires: autoconf, automake, libtool
@@ -41,13 +41,12 @@ that the overhead of compiling is almost
%prep
-%if 0%{svn}
+%if 0%{?svn}
%setup -q -n eaccelerator-svn%{svn}
%else
%setup -q -n eaccelerator-%{version}
%endif
-#patch0 -p1 -b .config
%patch1 -p1 -b .nophpversioncheck
# Change paths in the example config, other values are changed by a patch
@@ -109,6 +108,14 @@ if [ ! -d %{_var}/cache/php-eaccelerator
fi
+%check
+# only check if build extension can be loaded
+%{_bindir}/php \
+ -n -q -d extension_dir=modules \
+ -d extension=eaccelerator.so \
+ --modules | grep eAccelerator
+
+
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README*
@@ -123,6 +130,10 @@ fi
%changelog
+* Sat Feb 06 2010 Remi Collet <Fedora at FamilleCollet.com> - 1:0.9.6-1
+- update to 0.9.6
+- add minimal %%check (extension loadable)
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.9.6-0.2.svn358
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-eaccelerator/F-12/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- sources 14 Jul 2009 17:45:02 -0000 1.12
+++ sources 6 Feb 2010 10:02:34 -0000 1.13
@@ -1 +1 @@
-ebae9587e9ecdd3537b8e78d4f58fce5 eaccelerator-svn358.tar.gz
+85fa6150265a81f0cea852bc973382b9 eaccelerator-0.9.6.tar.bz2
More information about the scm-commits
mailing list