summaryrefslogtreecommitdiffstats
path: root/php-maennchen-zipstream-php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-maennchen-zipstream-php.spec')
-rw-r--r--php-maennchen-zipstream-php.spec29
1 files changed, 14 insertions, 15 deletions
diff --git a/php-maennchen-zipstream-php.spec b/php-maennchen-zipstream-php.spec
index 014569c..62e8cf0 100644
--- a/php-maennchen-zipstream-php.spec
+++ b/php-maennchen-zipstream-php.spec
@@ -8,23 +8,21 @@
# Please preserve changelog entries
#
Name: php-maennchen-zipstream-php
-Version: 0.4.1
-Release: 2%{?dist}
+Version: 0.5.2
+Release: 1%{?dist}
BuildArch: noarch
License: MIT
-Group: Development/Libraries
Summary: A fast and simple streaming zip file downloader for PHP
URL: https://github.com/maennchen/ZipStream-PHP
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: php-composer(fedora/autoloader)
BuildRequires: php-fedora-autoloader-devel
BuildRequires: php-zip
-BuildRequires: phpunit
+BuildRequires: phpunit6 >= 6.3
-Requires: php(language) >= 5.6.0
+Requires: php(language) >= 7.0
Requires: php-date
Requires: php-hash
Requires: php-mbstring
@@ -52,8 +50,6 @@ zip file downloader for PHP.
%install
-rm -rf %{buildroot}
-
install -d -p -m 0755 %{buildroot}/%{_datadir}/php
install -d -p -m 0755 %{buildroot}/%{_datadir}/php/ZipStream
@@ -64,27 +60,30 @@ cp -ar src/* %{buildroot}/%{_datadir}/php/ZipStream
sed -i "s:require.*:require('%{buildroot}/%{_datadir}/php/ZipStream/autoload.php');:" test/bootstrap.php
ret=0
-for cmd in php56 php70 php71 php; do
+for cmd in php php70 php71 php72 php73; do
if which $cmd; then
- $cmd %{_bindir}/phpunit --no-coverage
+ $cmd %{_bindir}/phpunit6 --no-coverage
fi
done
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE.md
%doc composer.json
+%doc doc
%doc README.md
%{_datadir}/php/ZipStream
%changelog
+* Thu Sep 13 2018 Remi Collet <remi@remirepo.net> - 0.5.2-2
+- switch to phpunit6
+
+* Sun Sep 09 2018 Randy Barlow <bowlofeggs@fedoraproject.org> - 0.5.2-1
+- Update to 0.5.2 (#1486085).
+- https://github.com/maennchen/ZipStream-PHP/compare/v0.4.1...v0.5.2
+
* Wed Feb 22 2017 Remi Collet <remi@remirepo.net> - 0.4.1-2
- backport for remi repository