From b8b6aced67605adf4d2051e45c3887b25d34c4a6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 1 Aug 2017 12:01:21 +0200 Subject: v1.3.1 --- php-pecl-yaml.spec | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'php-pecl-yaml.spec') diff --git a/php-pecl-yaml.spec b/php-pecl-yaml.spec index 15efaa9..1a8c052 100644 --- a/php-pecl-yaml.spec +++ b/php-pecl-yaml.spec @@ -29,7 +29,7 @@ Summary: PHP Bindings for yaml Name: %{?sub_prefix}php-pecl-yaml -Version: 1.3.0 +Version: 1.3.1 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: MIT Group: Development/Languages @@ -37,8 +37,7 @@ URL: http://pecl.php.net/package/yaml Source: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: %{?scl_prefix}php-devel >= 5.2.0 +BuildRequires: %{?scl_prefix}php-devel < 7 BuildRequires: %{?scl_prefix}php-pear BuildRequires: libyaml-devel @@ -97,9 +96,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -# honour --with-libdir option -# http://git.php.net/?p=pecl/file_formats/yaml.git;a=commitdiff;h=e1b40c36a8f0ba42a90c655ab3fc21bf4fb7d163 -sed -e 's:/lib:/$PHP_LIBDIR:' -i config.m4 # Check upstream version (often broken) extver=$(sed -n '/#define PHP_YAML_VERSION/{s/.* "//;s/".*$//;p}' php_yaml.h) @@ -213,10 +209,6 @@ REPORT_EXIT_STATUS=1 \ %endif -%clean -rm -rf %{buildroot} - - %if 0%{?fedora} < 24 # when pear installed alone, after us %triggerin -- %{?scl_prefix}php-pear @@ -238,7 +230,6 @@ fi %files -%defattr(-, root, root, -) %{?_licensedir:%license NTS/LICENSE} %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml @@ -253,6 +244,9 @@ fi %changelog +* Tue Aug 1 2017 Remi Collet - 1.3.1-1 +- Update to 1.3.1 + * Mon Sep 26 2016 Remi Collet - 1.3.0-1 - Update to 1.3.0 (php 5) -- cgit