summaryrefslogtreecommitdiffstats
path: root/php-pecl-cmark.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-cmark.spec')
-rw-r--r--php-pecl-cmark.spec15
1 files 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 <remi@remirepo.net> - 1.0.0
+* Thu Mar 29 2018 Remi Collet <remi@remirepo.net> - 1.0.0-1
+- update to 1.0.0 (stable)
+
+* Wed Mar 28 2018 Remi Collet <remi@remirepo.net> - 1.0.0-0
- initial package
- test build for upcoming version 1.0.0