diff options
Diffstat (limited to 'zephir-parser.spec')
-rw-r--r-- | zephir-parser.spec | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/zephir-parser.spec b/zephir-parser.spec index 9b9d769..4d7d773 100644 --- a/zephir-parser.spec +++ b/zephir-parser.spec @@ -20,7 +20,7 @@ # Get commit from PHP_PHALCON_ZEPVERSION in # https://github.com/phalcon/cphalcon/blob/master/ext/php_phalcon.h -%global gh_commit 72dbb2063e835ffa860dcf235dcbf6ec0f821fa5 +%global gh_commit 1fae5e50acea21511a092ffc443b54b865542665 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) #global gh_date 20161126 %global gh_owner phalcon @@ -28,7 +28,7 @@ %global ext_name zephir_parser Name: %{?scl_prefix}%{gh_project}-parser -Version: 0.9.6 +Version: 0.9.7 Release: 1%{?gh_date:.%{gh_date}git%{gh_short}}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Summary: Zephir parser extension @@ -40,7 +40,6 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit # Adapt path used in RPM Patch0: %{gh_project}-rpm.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-devel > 5.4 BuildRequires: re2c %if %{with_tests} @@ -70,9 +69,7 @@ Parser extension used by %{gh_project} %package -n %{?scl_prefix}%{gh_project} Summary: Zephir language for creation of extensions for PHP. Group: Development/Languages -%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6 BuildArch: noarch -%endif Requires: %{?scl_prefix}php-cli Requires: %{name} = %{version}-%{release} @@ -129,6 +126,8 @@ find . -name \*.php -exec chmod -x {} \; %build +%{?dtsenable} + cd parser/parser ./build_linux.sh cd .. @@ -140,7 +139,7 @@ make %install -rm -rf %{buildroot} +%{?dtsenable} : Library and resources mkdir -p %{buildroot}%{_datadir}/%{gh_project} @@ -177,18 +176,12 @@ fi %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %{php_extdir}/%{ext_name}.so %files -n %{?scl_prefix}%{gh_project} -%defattr(-,root,root,-) %doc *.md %doc composer.json %{_bindir}/%{gh_project} @@ -196,6 +189,9 @@ rm -rf %{buildroot} %changelog +* Wed Apr 5 2017 Remi Collet <remi@fedoraproject.org> - 0.9.7-1 +- version 0.9.7 + * Tue Feb 21 2017 Remi Collet <remi@fedoraproject.org> - 0.9.6-1 - version 0.9.6 |