diff options
author | Remi Collet <remi@remirepo.net> | 2017-04-05 17:40:22 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-04-05 17:40:22 +0200 |
commit | 52ecc17fa589a258a4a314782e77f67d1f2b1783 (patch) | |
tree | 0dd413967b5952f856cbaaf3a453150cf8ad6a28 | |
parent | 0eec701cabdb961980b82b8dc4923bd6ad58de4e (diff) |
v0.9.7
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | REFLECTION | 2 | ||||
-rw-r--r-- | zephir-parser.spec | 20 |
3 files changed, 16 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ab5c4f --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #15 zephir_parser version 0.1.0 ] { +Extension [ <persistent> extension #176 zephir_parser version 0.1.0 ] { - Functions { Function [ <internal:zephir_parser> function zephir_parse_file ] { 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 |