diff options
| -rw-r--r-- | .gitignore | 8 | ||||
| -rw-r--r-- | php-horde-Horde-Mime.spec | 31 | 
2 files changed, 19 insertions, 20 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fc9aa8c --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +clog +package-*.xml +*.tgz +*.tar.gz +*.tar.xz +*.tar.xz.asc +*.src.rpm +*/*rpm diff --git a/php-horde-Horde-Mime.spec b/php-horde-Horde-Mime.spec index 93c66bf..d188067 100644 --- a/php-horde-Horde-Mime.spec +++ b/php-horde-Horde-Mime.spec @@ -1,6 +1,6 @@  # remirepo/fedora spec file for php-horde-Horde-Mime  # -# Copyright (c) 2012-2017 Nick Bebout, Remi Collet +# Copyright (c) 2012-2018 Nick Bebout, Remi Collet  #  # License: MIT  # https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense @@ -19,7 +19,7 @@  %endif  Name:           php-horde-Horde-Mime -Version:        2.10.3 +Version:        2.11.0  Release:        1%{?dist}  Summary:        Horde MIME Library @@ -30,7 +30,6 @@ License:        LGPLv2 and BSD  URL:            http://pear.horde.org  Source0:        http://%{pear_channel}/get/%{pear_name}-%{version}.tgz -BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root  BuildArch:      noarch  BuildRequires:  php(language) >= 5.3.0  BuildRequires:  php-pear(PEAR) >= 1.7.0 @@ -111,7 +110,6 @@ done  %install  cd %{pear_name}-%{version} -rm -rf %{buildroot}  %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml  # Clean up unnecessary files @@ -136,21 +134,12 @@ cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g)  rm MdnTest.php  %endif -# remirepo:11 -run=0  ret=0 -if which php56; then -   php56 %{_bindir}/phpunit . || ret=1 -   run=1 -fi -if which php71; then -   php71 %{_bindir}/phpunit . || ret=1 -   run=1 -fi -if [ $run -eq 0 ]; then -%{_bindir}/phpunit --verbose . -# remirepo:2 -fi +for cmd in php php56 php70 php71 php72; do +  if which $cmd; then +    $cmd %{_bindir}/phpunit --bootstrap bootstrap.php --verbose . || ret=1 +  fi +done  exit $ret  %else  : bootstrap build with test suite disabled @@ -169,18 +158,20 @@ fi  %files -f %{pear_name}.lang -%defattr(-,root,root,-)  %doc %{pear_docdir}/%{pear_name}  %{pear_xmldir}/%{name}.xml  %{pear_phpdir}/Horde/Mime  %{pear_phpdir}/Horde/Mime.php -%{pear_testdir}/%{pear_name} +%doc %{pear_testdir}/%{pear_name}  # own locales (non standard) directories, .mo own by find_lang  %dir %{pear_datadir}/%{pear_name}  %dir %{pear_datadir}/%{pear_name}/locale  %changelog +* Mon Jan 15 2018 Remi Collet <remi@remirepo.net> - 2.11.0-1 +- Update to 2.11.0 +  * Mon Feb 27 2017 Remi Collet <remi@fedoraproject.org> - 2.10.3-1  - Update to 2.10.3  | 
