summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-nette-caching.spec22
1 files changed, 7 insertions, 15 deletions
diff --git a/php-nette-caching.spec b/php-nette-caching.spec
index 1609cde..4270820 100644
--- a/php-nette-caching.spec
+++ b/php-nette-caching.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 2436e530484a346d0a246733519ceaa40b943bd6
+%global gh_commit 6a15f06019c4e6ec97d312d31f8edceb01b85060
#global gh_date 20150728
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nette
@@ -17,9 +17,9 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.5.3
+Version: 2.5.4
%global specrel 1
-Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
+Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Nette Caching Component
Group: Development/Libraries
@@ -29,7 +29,6 @@ Source0: %{name}-%{version}-%{gh_short}.tgz
# pull a git snapshot to get test sutie
Source1: makesrc.sh
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-composer(theseer/autoload)
%if %{with_tests}
@@ -95,7 +94,6 @@ EOF
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{php_home}/%{ns_vendor}
cp -pr src/* %{buildroot}%{php_home}/%{ns_vendor}/
@@ -104,10 +102,6 @@ cp -pr src/* %{buildroot}%{php_home}/%{ns_vendor}/
%if %{with_tests}
: Ignore tests which require memcache
rm tests/Storages/*Memcache*
-# remirepo:3
-%if 0%{?rhel} == 5
-rm tests/Storages/SQLiteStorage.sliding.phpt
-%endif
export LANG=fr_FR.utf8
@@ -123,7 +117,7 @@ EOF
: Run test suite in sources tree
ret=0
-for cmd in php56 php71 php70 php; do
+for cmd in php php56 php70 php71 php72; do
if which $cmd; then
$cmd %{_bindir}/nette-tester --colors 0 -p $cmd -C tests -s || ret=1
fi
@@ -134,12 +128,7 @@ exit $ret
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license license.md
%doc readme.md contributing.md
@@ -149,6 +138,9 @@ rm -rf %{buildroot}
%changelog
+* Sun Aug 6 2017 Remi Collet <remi@remirepo.net> - 2.5.4-1
+- Update to 2.5.4
+
* Thu Feb 2 2017 Remi Collet <remi@fedoraproject.org> - 2.5.3-1
- update to 2.5.3