From 3ff05cdeb2989c2a49eb5894ac564e77abb85d52 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 29 Mar 2018 08:54:53 +0200 Subject: v1.0.0 (stable) --- php-pecl-cmark.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/php-pecl-cmark.spec b/php-pecl-cmark.spec index 96c6abc..1702bad 100644 --- a/php-pecl-cmark.spec +++ b/php-pecl-cmark.spec @@ -23,15 +23,19 @@ Summary: CommonMark extension Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: 1.0.0 -Release: 0%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz +BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear -BuildRequires: %{?dtsprefix}gcc -BuildRequires: cmark-static-devel +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8 +BuildRequires: cmark-devel >= 0.28 +%else +BuildRequires: cmark-static-devel >= 0.28 +%endif Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -215,6 +219,9 @@ fi %changelog -* Mon Mar 5 2018 Remi Collet - 1.0.0 +* Thu Mar 29 2018 Remi Collet - 1.0.0-1 +- update to 1.0.0 (stable) + +* Wed Mar 28 2018 Remi Collet - 1.0.0-0 - initial package - test build for upcoming version 1.0.0 -- cgit