summaryrefslogtreecommitdiffstats
path: root/php-pecl-zendopcache.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-06-05 12:10:02 +0200
committerRemi Collet <fedora@famillecollet.com>2013-06-05 12:10:02 +0200
commitf66ba7312eaabc7ca7b94aaf2937d8e6dd3a6739 (patch)
tree814fde151809640e1fda76abfe518945c73fbba6 /php-pecl-zendopcache.spec
parent3c7f92c298cfc96cc95fc9c45e26a949c4ee0894 (diff)
php-pecl-zendopcache: 7.0.2
Diffstat (limited to 'php-pecl-zendopcache.spec')
-rw-r--r--php-pecl-zendopcache.spec35
1 files changed, 14 insertions, 21 deletions
diff --git a/php-pecl-zendopcache.spec b/php-pecl-zendopcache.spec
index 149fd30..87d227e 100644
--- a/php-pecl-zendopcache.spec
+++ b/php-pecl-zendopcache.spec
@@ -1,34 +1,30 @@
+# spec file for php-horde-Horde-HashTable
+#
+# Copyright (c) 2013 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/3.0/
+#
+# Please, preserve the changelog entries
+#
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
-#global owner zend-dev
-#global commit cef6093956bee5446207d5919fc9d30be58aa245
-#global short %(c=%{commit}; echo ${c:0:7})
-#global prever dev
%global proj_name ZendOpcache
%global pecl_name zendopcache
%global plug_name opcache
Name: php-pecl-%{pecl_name}
-Version: 7.0.1
-Release: 2%{?dist}
+Version: 7.0.2
+Release: 1%{?dist}
Summary: The Zend OPcache
Group: Development/Libraries
License: PHP
URL: http://pecl.php.net/package/%{proj_name}
-%if 0%{?commit:1}
-Source0: https://github.com/%{owner}/%{proj_name}/archive/%{commit}/%{proj_name}-%{version}-%{short}.tar.gz
-%else
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
-%endif
# this extension must be loaded before XDebug
# So "opcache" if before "xdebug"
Source1: %{plug_name}.ini
Source2: %{plug_name}-default.blacklist
-# Allow comments in blacklist content
-# Allow wildcard in blacklist filename
-Patch0: %{plug_name}-blacklist.patch
-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: php-devel >= 5.2.0
BuildRequires: php-pear
@@ -66,16 +62,9 @@ bytecode optimization patterns that make code execution faster.
%prep
%setup -q -c
-%if 0%{?commit:1}
-mv %{proj_name}-%{commit} NTS
-sed -e '/release/s/7.0.0/%{version}%{prever}/' \
- NTS/package.xml >package.xml
-%else
mv %{pecl_name}-%{version} NTS
-%endif
cd NTS
-%patch0 -p1
# Sanity check, really often broken
extver=$(sed -n '/#define ACCELERATOR_VERSION/{s/.* "//;s/".*$//;p}' ZendAccelerator.h)
@@ -179,6 +168,10 @@ fi
%changelog
+* Wed Jun 5 2013 Remi Collet <rcollet@redhat.com> - 7.0.2-1
+- update to 7.0.2
+- add spec License = CC-BY-SA
+
* Thu Apr 11 2013 Remi Collet <rcollet@redhat.com> - 7.0.1-2
- allow wildcard in opcache.blacklist_filename and provide
default /etc/php.d/opcache-default.blacklist