summaryrefslogtreecommitdiffstats
path: root/php-pecl-yaml.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-01 12:01:21 +0200
committerRemi Collet <remi@remirepo.net>2017-08-01 12:01:21 +0200
commitb8b6aced67605adf4d2051e45c3887b25d34c4a6 (patch)
treed95357516314999b91d9356cc45104f5936d8ac3 /php-pecl-yaml.spec
parentbb40f0e8cdc43924827dce83797c18d4ee3846cd (diff)
v1.3.1
Diffstat (limited to 'php-pecl-yaml.spec')
-rw-r--r--php-pecl-yaml.spec16
1 files changed, 5 insertions, 11 deletions
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 <remi@remirepo.net> - 1.3.1-1
+- Update to 1.3.1
+
* Mon Sep 26 2016 Remi Collet <remi@fedoraproject.org> - 1.3.0-1
- Update to 1.3.0 (php 5)