From b81724946b80a74a1708372fb03c3a059b2781ac Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Jul 2017 15:43:10 +0200 Subject: v1.2.8 --- REFLECTION | 2 +- php-pecl-timecop.spec | 11 ++++------- tests-skipcheck.inc.php | 29 ----------------------------- 3 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 tests-skipcheck.inc.php diff --git a/REFLECTION b/REFLECTION index 0f47284..81b2d01 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #142 timecop version 1.2.7 ] { +Extension [ extension #142 timecop version 1.2.8 ] { - INI { Entry [ timecop.func_override ] diff --git a/php-pecl-timecop.spec b/php-pecl-timecop.spec index a358119..ca3d070 100644 --- a/php-pecl-timecop.spec +++ b/php-pecl-timecop.spec @@ -22,14 +22,12 @@ Summary: Time travel and freezing extension Name: %{?sub_prefix}php-pecl-timecop -Version: 1.2.7 +Version: 1.2.8 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz -# https://github.com/hnw/php-timecop/pull/22 -Source1: https://raw.githubusercontent.com/hnw/php-timecop/master/tests-skipcheck.inc.php BuildRequires: %{?scl_prefix}php-devel BuildRequires: %{?scl_prefix}php-pear @@ -87,15 +85,11 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO mv %{pecl_name}-%{version} NTS # Don't install/register tests -# see https://github.com/hnw/php-timecop/pull/21 sed -e 's/role="test"/role="src"/' \ - -e '/README/s/role="src"/role="doc"/' \ %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ - %{!?_licensedir:-e '/LICENSE/s/role="src"/role="doc"/' } \ -i package.xml cd NTS -cp %{SOURCE1} . # Sanity check, really often broken extver=$(sed -n '/#define PHP_TIMECOP_VERSION/{s/.* "//;s/".*$//;p}' php_timecop.h) @@ -238,6 +232,9 @@ fi %changelog +* Fri Jul 7 2017 Remi Collet - 1.2.8-1 +- Update to 1.2.8 (no change) + * Fri Jul 7 2017 Remi Collet - 1.2.7-1 - rename to php-pecl-timecop - use sources from pecl diff --git a/tests-skipcheck.inc.php b/tests-skipcheck.inc.php deleted file mode 100644 index 0d494a9..0000000 --- a/tests-skipcheck.inc.php +++ /dev/null @@ -1,29 +0,0 @@ -