summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-03-29 08:54:53 +0200
committerRemi Collet <remi@remirepo.net>2018-03-29 08:54:53 +0200
commit3ff05cdeb2989c2a49eb5894ac564e77abb85d52 (patch)
tree6e4c41bd36bed7dbe50265b1f008c28043ec9ef0
parent69f52f16a1b997b185aab797e09bbf7792a824f3 (diff)
v1.0.0 (stable)
-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